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

Constructor Index

 o CommEvent(Object, int)
Constructs a new CommEvent with the specified source and communications status.
 o CommEvent(Object, int, ECLErr)
Constructs a new CommEvent with the specified source, communications status, and ECLErr

Method Index

 o getCommStatus()
Returns the communications status.
 o getDeviceName()
Returns the device name if one has been assigned, null otherwise.
 o getECLErr()
Returns the ECLErr if one was assigned, null otherwise.
 o getSLPHost()
Returns the host name if one has been assigned, null otherwise.
 o getSLPPort()
Returns the port name if one has been assigned, null otherwise.
 o getWorkstationID()
Returns the workstation ID if one has been assigned, null otherwise.
 o isCommReady()
Returns whether or not communications is ready.
 o isDeviceNameReady()
Returns whether or not the device name has been assigned.
 o isWorkstationIDReady()
Returns whether or not the workstation ID has been assigned.

Constructors

 o CommEvent
 public CommEvent(Object source,
                  int commStatus)
Constructs a new CommEvent with the specified source and communications status.

 o CommEvent
 public CommEvent(Object source,
                  int commStatus,
                  ECLErr e)
Constructs a new CommEvent with the specified source, communications status, and ECLErr

Methods

 o getCommStatus
 public int getCommStatus()
Returns the communications status.

See Also:
getCommStatus
 o isCommReady
 public boolean isCommReady()
Returns whether or not communications is ready.

See Also:
isCommReady
 o isDeviceNameReady
 public boolean isDeviceNameReady()
Returns whether or not the device name has been assigned.

See Also:
isDeviceNameReady
 o getDeviceName
 public String getDeviceName()
Returns the device name if one has been assigned, null otherwise.

See Also:
ECLConnection

 o getSLPHost
 public String getSLPHost()
Returns the host name if one has been assigned, null otherwise.

See Also:
ECLConnection

 o getSLPPort
 public int getSLPPort()
Returns the port name if one has been assigned, null otherwise.

See Also:
ECLConnection

 o isWorkstationIDReady
 public boolean isWorkstationIDReady()
Returns whether or not the workstation ID has been assigned.

See Also:
isWorkstationIDReady
 o getWorkstationID
 public String getWorkstationID()
Returns the workstation ID if one has been assigned, null otherwise.

See Also:
ECLConnection

 o getECLErr
 public ECLErr getECLErr()
Returns the ECLErr if one was assigned, null otherwise.


All Packages  Class Hierarchy  This Package  Previous  Next  Index