All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eNetwork.beans.HOD.event.CommEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.eNetwork.beans.HOD.event.HODEvent
|
+----com.ibm.eNetwork.beans.HOD.event.CommEvent
- public class CommEvent
- extends HODEvent
The communications event. Fired to CommListeners when the communications
state of a Terminal or Session changes.
- See Also:
- CommListener, Session, Terminal
-
CommEvent(Object, int)
- Constructs a new CommEvent with the specified source and communications
status.
-
CommEvent(Object, int, ECLErr)
- Constructs a new CommEvent with the specified source, communications
status, and ECLErr
-
getCommStatus()
- Returns the communications status.
-
getDeviceName()
- Returns the device name if one has been assigned, null otherwise.
-
getECLErr()
- Returns the ECLErr if one was assigned, null otherwise.
-
getSLPHost()
- Returns the host name if one has been assigned, null otherwise.
-
getSLPPort()
- Returns the port name if one has been assigned, null otherwise.
-
getWorkstationID()
- Returns the workstation ID if one has been assigned, null otherwise.
-
isCommReady()
- Returns whether or not communications is ready.
-
isDeviceNameReady()
- Returns whether or not the device name has been assigned.
-
isWorkstationIDReady()
- Returns whether or not the workstation ID has been assigned.
CommEvent
public CommEvent(Object source,
int commStatus)
- Constructs a new CommEvent with the specified source and communications
status.
CommEvent
public CommEvent(Object source,
int commStatus,
ECLErr e)
- Constructs a new CommEvent with the specified source, communications
status, and ECLErr
getCommStatus
public int getCommStatus()
- Returns the communications status.
- See Also:
- getCommStatus
isCommReady
public boolean isCommReady()
- Returns whether or not communications is ready.
- See Also:
- isCommReady
isDeviceNameReady
public boolean isDeviceNameReady()
- Returns whether or not the device name has been assigned.
- See Also:
- isDeviceNameReady
getDeviceName
public String getDeviceName()
- Returns the device name if one has been assigned, null otherwise.
- See Also:
- ECLConnection
getSLPHost
public String getSLPHost()
- Returns the host name if one has been assigned, null otherwise.
- See Also:
- ECLConnection
getSLPPort
public int getSLPPort()
- Returns the port name if one has been assigned, null otherwise.
- See Also:
- ECLConnection
isWorkstationIDReady
public boolean isWorkstationIDReady()
- Returns whether or not the workstation ID has been assigned.
- See Also:
- isWorkstationIDReady
getWorkstationID
public String getWorkstationID()
- Returns the workstation ID if one has been assigned, null otherwise.
- See Also:
- ECLConnection
getECLErr
public ECLErr getECLErr()
- Returns the ECLErr if one was assigned, null otherwise.
All Packages Class Hierarchy This Package Previous Next Index