com.ibm.rules.res.xu.event
Interface ConnectionEvent
-
- All Known Subinterfaces:
- EngineEvent, RuleEvent, TaskEvent
public interface ConnectionEvent
Represents an event initiated by a XU connection.- Since:
- 8.0.1
-
-
Method Summary
Methods Modifier and Type Method and Description java.io.Serializable
getConnectionId()
Retrieves the internal XU identifier of the connection that raises the event.java.lang.Object
getUserData()
Retrieves the data associated with the XU connection.
-
-
-
Method Detail
-
getConnectionId
java.io.Serializable getConnectionId()
Retrieves the internal XU identifier of the connection that raises the event.The instance can be different for the same connection, but the method
Object.equals(Object)
is guaranteed to returntrue
for the same connection.- Returns:
- The identifier.
-
getUserData
java.lang.Object getUserData()
Retrieves the data associated with the XU connection.It corresponds to the user data that can be associated with a rule session.
- Returns:
- The data.
-
-