Rule Execution Server API

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
 Serializable getConnectionId()
          Retrieves the internal XU identifier of the connection that raises the event.
 Object getUserData()
          Retrieves the data associated with the XU connection.
 

Method Detail

getConnectionId

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 return true for the same connection.

Returns:
The identifier.

getUserData

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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013