Class JCoConnectionEvent

All Implemented Interfaces:
Serializable

public class JCoConnectionEvent extends ConnectionEvent
This object contains information about a JCo Connection event.
See Also:
  • Field Details

    • BEFORE_JCO_FUNCTION_CALL

      public static final int BEFORE_JCO_FUNCTION_CALL
      Id which indicates that the event has been fired just before a JCo Function module has been called.
      See Also:
    • AFTER_JCO_FUNCTION_CALL

      public static final int AFTER_JCO_FUNCTION_CALL
      Id which indicates that the event has been fired after a JCo Function module has been called.
      See Also:
  • Constructor Details

    • JCoConnectionEvent

      public JCoConnectionEvent(Object source, com.sap.conn.jco.JCoFunction function, int id)
      Creates a event object.
      Parameters:
      source - the source of the event
      function - a JCoFunction
      id - id indicating what kind of event it is
  • Method Details

    • getFunction

      public com.sap.conn.jco.JCoFunction getFunction()
      Returns a JCo function if this event is related with a call of a JCo function.
      Returns:
      a JCo function if this event is related with a call of a JCo function
    • getId

      public int getId()
      Returns an id which indicates what kind of event it is.
      Returns:
      id indicating what kind of event it is