|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.ibm.eNetwork.beans.HOD.event.HODEvent | +--com.ibm.eNetwork.beans.HOD.event.CommEvent
The communications event. Fired to CommListeners when the communications state of a Terminal or Session changes.
CommListener
,
Session
,
Terminal
, Serialized FormConstructor Summary | |
CommEvent(java.lang.Object source,
int commStatus)
Constructs a new CommEvent with the specified source and communications status. |
|
CommEvent(java.lang.Object source,
int commStatus,
com.ibm.eNetwork.ECL.ECLErr e)
Constructs a new CommEvent with the specified source, communications status, and ECLErr |
Method Summary | |
int |
getCommStatus()
Returns the communications status. |
java.lang.String |
getDeviceName()
Returns the device name if one has been assigned, null otherwise. |
com.ibm.eNetwork.ECL.ECLErr |
getECLErr()
Returns the ECLErr if one was assigned, null otherwise. |
java.lang.String |
getSLPHost()
Returns the host name if one has been assigned, null otherwise. |
int |
getSLPPort()
Returns the port name if one has been assigned, null otherwise. |
java.lang.String |
getWorkstationID()
Returns the workstation ID if one has been assigned, null otherwise. |
boolean |
isCommReady()
Returns whether or not communications is ready. |
boolean |
isDeviceNameReady()
Returns whether or not the device name has been assigned. |
boolean |
isWorkstationIDReady()
Returns true if the workstation ID is ready, otherwise returns false. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CommEvent(java.lang.Object source, int commStatus)
public CommEvent(java.lang.Object source, int commStatus, com.ibm.eNetwork.ECL.ECLErr e)
Method Detail |
public int getCommStatus()
Session.getCommStatus()
public boolean isCommReady()
Session.isCommReady()
public boolean isDeviceNameReady()
Session.isDeviceNameReady()
public java.lang.String getDeviceName()
public java.lang.String getSLPHost()
public int getSLPPort()
public boolean isWorkstationIDReady()
Session.isWorkstationIDReady()
public java.lang.String getWorkstationID()
public com.ibm.eNetwork.ECL.ECLErr getECLErr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |