Class ConnectionEvent

  • java.lang.Object
    • java.util.EventObject
  • All Implemented Interfaces:

    public class ConnectionEvent
    extends java.util.EventObject
    The ConnectionEvent class represents a Connection event.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

    • Constructor Summary

      Constructor and Description
      ConnectionEvent(java.lang.Object source, int service)
      Constructs a ConnectionEvent object.
    • Method Summary

      Modifier and Type Method and Description
      int getService()
      Returns the service ID.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionEvent

        public ConnectionEvent(java.lang.Object source,
                       int service)
        Constructs a ConnectionEvent object. It uses the specified source and service.
        source - The object where the event originated.
        service - The service ID.
    • Method Detail

      • getService

        public int getService()
        Returns the service ID. This identifies the service that was connected or disconnected. The service ID's are defined in the AS400 class.
        The service ID.