Class RemoteConnectionChangeEvent


  • public class RemoteConnectionChangeEvent
    extends Object
    Event representing a change in connection status. The getType() method can be used to obtain information about the type of event that occurred.
    Since:
    2.0
    • Field Detail

      • CONNECTION_CLOSED

        public static final int CONNECTION_CLOSED
        Event indicating that the connection was closed.
        See Also:
        Constant Field Values
      • CONNECTION_OPENED

        public static final int CONNECTION_OPENED
        Event indicating that the connection was opened.
        See Also:
        Constant Field Values
      • CONNECTION_ABORTED

        public static final int CONNECTION_ABORTED
        Event indicating that the connection was closed abnormally.
        See Also:
        Constant Field Values
      • CONNECTION_RENAMED

        public static final int CONNECTION_RENAMED
        Event indicating that the connection name will be changed. It is sent prior to the name change taking place. The event passes an IRemoteConnectionWorkingCopy so that the original and new name can be used by the listener.
        See Also:
        Constant Field Values
      • CONNECTION_ADDED

        public static final int CONNECTION_ADDED
        Event indicating the connection was added.
        Since:
        2.0
        See Also:
        Constant Field Values
      • CONNECTION_REMOVED

        public static final int CONNECTION_REMOVED
        Event indicating the connection is about to be removed.
        Since:
        2.0
        See Also:
        Constant Field Values
      • ATTRIBUTES_CHANGED

        public static final int ATTRIBUTES_CHANGED
        Event indicating the connection attributes had changed.
        Since:
        4.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • RemoteConnectionChangeEvent

        public RemoteConnectionChangeEvent​(IRemoteConnection connection,
                                           int type)