Rule Execution Server API

ilog.rules.res.xu.event
Interface IlrConnectionEvent

All Superinterfaces:
ilog.rules.res.xu.event.internal.IlrXUEvent

public interface IlrConnectionEvent
extends ilog.rules.res.xu.event.internal.IlrXUEvent

IlrConnectionEvent represents an event raised by a CCI connection. After a CCI connection is created, an OPENED event is raised. After a CCI connection is closed, a CLOSED event is raised.

The rule session implementations (stateful and stateless,) guarantees that each rule session corresponds to one distinct XU CCI connection which has exactly the same life cycle.

Since:
7.0

Field Summary
static int CLOSED
          The event code when a CCI connection is closed.
static int OPENED
          The event code when a CCI connection is opened.
 
Method Summary
 int getCode()
          Returns the event code.
 Serializable getConnectionId()
          Returns the CCI connection identifier.
 

Field Detail

OPENED

static final int OPENED
The event code when a CCI connection is opened.

Since:
7.0
See Also:
Constant Field Values

CLOSED

static final int CLOSED
The event code when a CCI connection is closed.

Since:
7.0
See Also:
Constant Field Values
Method Detail

getConnectionId

Serializable getConnectionId()
Returns the CCI connection identifier.

Since:
7.0
Returns:
The CCI connection identifier.

getCode

int getCode()
Returns the event code.

Returns:
The event code.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2012