com.ibm.dse.base
Class DSEEventObject
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.dse.base.DSEEventObject
- Direct Known Subclasses:
- DataReceivedEvent, DSECoordinationEvent, DSEExceptionEvent, ErrorReceivedEvent, JobCompletedEvent, OperationRepliedEvent, SessionClosedEvent, SessionEstablishedEvent, WOSAEvent
- public class DSEEventObject
- extends java.util.EventObject
The DSEEventObject class is used by notifiers, the Event Manager,and
handlers to handle events by name. It provides as many parameters
as are required by the notifiers and enables the system to provide the
TID (terminal identification) where the event was generated.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DSEEventObject(java.lang.Object aObject)
This constructor creates a DSEEventObject object. |
DSEEventObject(java.lang.String aName,
Notifier aSource)
This constructor creates a DSEEventObject with a name and
notifier. |
DSEEventObject(java.lang.String aName,
Notifier aSource,
Hashtable aParametersTable)
This constructor creates a DSEEventObject with a name and
notifier. |
Method Summary |
java.lang.String |
getName()
Gets the DSEEventObject name attribute. |
Hashtable |
getParameters()
Gets the DSEEventObject parameters attribute. |
java.lang.String |
getSourceName()
Gets the DSEEventObject sourceName. |
java.lang.String |
getTID()
Gets the terminal identification. |
void |
setName(java.lang.String aName)
Sets the DSEEventObject name to aName. |
void |
setParameters(Hashtable aParametersTable)
Sets the DSEEventObject parameters attribute to aParametersTable. |
void |
setSourceName(java.lang.String aSourceName)
Sets the DSEEventObject sourceName to aSourceName. |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
sourceName
protected java.lang.String sourceName
name
protected java.lang.String name
parameters
protected Hashtable parameters
originTID
protected java.lang.String originTID
DSEEventObject
public DSEEventObject(java.lang.Object aObject)
- This constructor creates a DSEEventObject object.
DSEEventObject
public DSEEventObject(java.lang.String aName,
Notifier aSource)
throws DSEInvalidArgumentException
- This constructor creates a DSEEventObject with a name and
notifier. This method generates a DSEInvalidArgumentException
when an attempt is made to create a DSEEventObject with null
parameters.
DSEEventObject
public DSEEventObject(java.lang.String aName,
Notifier aSource,
Hashtable aParametersTable)
throws DSEInvalidArgumentException
- This constructor creates a DSEEventObject with a name and
notifier. This method generates a DSEInvalidArgumentException
when an attempt is made to create a DSEEventObject with null
parameters.
getName
public java.lang.String getName()
- Gets the DSEEventObject name attribute.
getParameters
public Hashtable getParameters()
- Gets the DSEEventObject parameters attribute.
getSourceName
public java.lang.String getSourceName()
- Gets the DSEEventObject sourceName.
getTID
public java.lang.String getTID()
- Gets the terminal identification.
setName
public void setName(java.lang.String aName)
- Sets the DSEEventObject name to aName.
setParameters
public void setParameters(Hashtable aParametersTable)
- Sets the DSEEventObject parameters attribute to aParametersTable.
setSourceName
public void setSourceName(java.lang.String aSourceName)
- Sets the DSEEventObject sourceName to aSourceName.
toString
public java.lang.String toString()
- Overrides:
- toString in class java.util.EventObject