org.dvb.hardware
Class Terminal

java.lang.Object
  extended by org.dvb.hardware.Terminal

public class Terminal
extends java.lang.Object

Provides access to low level details of the GEM terminal.


Method Summary
 java.lang.String getID()
          Return a human-readable string identifying this terminal.
 int getRebootTimeout()
          Get the time that the system shall wait for the SystemEventListener.notifyEvent(SystemEvent) to return before continuing regardless.
 void reinitialize()
          Re-initializes the GEM software environment including re-initializing all DVB-J virtual machine or machines and re-starting all GEM applications.
 void reset()
          Initiates a reset of the GEM terminal equivalent to a power cycle.
 void setRebootTimeout(int seconds)
          Set the time that the system shall wait for the SystemEventListener.notifyEvent(SystemEvent) to return before it shall continue regardless.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reset

public void reset()
Initiates a reset of the GEM terminal equivalent to a power cycle. The method SystemEventListener.notifyEvent(SystemEvent) shall be called before the reboot is performed by the GEM terminal. Once the notifyEvent method returns, the reboot process shall continue. If the notify event method does not return within an implementation dependent time then the reboot process may continue regardless.

Throws:
java.lang.SecurityException - if the caller does not have MonitorAppPermission("reboot")

reinitialize

public void reinitialize()
Re-initializes the GEM software environment including re-initializing all DVB-J virtual machine or machines and re-starting all GEM applications. The method SystemEventListener.notifyEvent(SystemEvent) shall be called before the re-initialization is performed by the GEM terminal. Once the notifyEvent method returns, the process shall continue. If the notify event method does not return within an implementation dependent time then the process may continue regardless.

Throws:
java.lang.SecurityException - if the caller does not have MonitorAppPermission("reboot")

setRebootTimeout

public void setRebootTimeout(int seconds)
Set the time that the system shall wait for the SystemEventListener.notifyEvent(SystemEvent) to return before it shall continue regardless. If not set then the default is implementation dependent.

Parameters:
seconds - the time to wait in seconds
Throws:
java.lang.SecurityException - if the caller does not have MonitorAppPermission("reboot")

getRebootTimeout

public int getRebootTimeout()
Get the time that the system shall wait for the SystemEventListener.notifyEvent(SystemEvent) to return before continuing regardless.

Returns:
the reboot timeout measured in seconds

getID

public java.lang.String getID()
Return a human-readable string identifying this terminal. This should be in a format that could be read during a phone call to an operator.

Returns:
the host identifier