com.ibm.eNetwork.beans.HOD.event
Class OIAEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.eNetwork.beans.HOD.event.HODEvent
              |
              +--com.ibm.eNetwork.beans.HOD.event.OIAEvent
All Implemented Interfaces:
java.io.Serializable

public class OIAEvent
extends com.ibm.eNetwork.beans.HOD.event.HODEvent

The operator information area (OIA) event. Fired to OIAListeners when the OIA state of a Terminal or Session changes. The OIAEvent contains the current state, a changed state mask, and associated data.

See Also:
OIAListener, Session, Terminal, ECLOIA, ECLOIANotify

See Also:
Serialized Form

Constructor Summary
OIAEvent(java.lang.Object source, long newState, long changedMask, java.lang.String data)
          Constructs a new OIA event with the specified source, current state flags, changed state flags, and any associated data.
 
Method Summary
 long getChangedMask()
          Returns the changed OIA state mask.
 java.lang.String getData()
          Returns the data (if any) associated with the OIA state change.
 long getNewState()
          Returns the new OIA state flags.
 
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

OIAEvent

public OIAEvent(java.lang.Object source,
                long newState,
                long changedMask,
                java.lang.String data)
Constructs a new OIA event with the specified source, current state flags, changed state flags, and any associated data.
Parameters:
source - The source of the event.
newState - The current OIA state.
changedMask - The set of bit flags indicating which bits in the current state have changed.
data - Data associated with current OIA state.
Method Detail

getNewState

public long getNewState()
Returns the new OIA state flags.

See Also:
ECLOIA.GetStatusFlags()

getChangedMask

public long getChangedMask()
Returns the changed OIA state mask.

See Also:
ECLOIA.GetStatusFlags()

getData

public java.lang.String getData()
Returns the data (if any) associated with the OIA state change. For example, when the STATE_COMM_CHECK bit is on, the return value will be the comm check number, like "655".