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

      Fields 
      Modifier and Type Field and Description
      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

      Methods 
      Modifier and Type Method and Description
      int getCode()
      Returns the event code.
      java.io.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

        java.io.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.

© Copyright IBM Corp. 1987, 2020