Class ConnectStateEvent

    • Field Detail

      • CONNECT_STATE_READY

        public static final EventType<ConnectStateEvent> CONNECT_STATE_READY
        This event occurs when the state of a GluonObservable implementation has transitioned to the READY state.
      • CONNECT_STATE_RUNNING

        public static final EventType<ConnectStateEvent> CONNECT_STATE_RUNNING
        This event occurs when the state of a GluonObservable implementation has transitioned to the RUNNING state.
      • CONNECT_STATE_FAILED

        public static final EventType<ConnectStateEvent> CONNECT_STATE_FAILED
        This event occurs when the state of a GluonObservable implementation has transitioned to the FAILED state.
      • CONNECT_STATE_SUCCEEDED

        public static final EventType<ConnectStateEvent> CONNECT_STATE_SUCCEEDED
        This event occurs when the state of a GluonObservable implementation has transitioned to the SUCCEEDED state.
      • CONNECT_STATE_CANCELLED

        public static final EventType<ConnectStateEvent> CONNECT_STATE_CANCELLED
        This event occurs when the state of a GluonObservable implementation has transitioned to the CANCELLED state.
      • CONNECT_STATE_REMOVED

        public static final EventType<ConnectStateEvent> CONNECT_STATE_REMOVED
        This event occurs when the state of a GluonObservable implementation has transitioned to the REMOVED state.
    • Constructor Detail

      • ConnectStateEvent

        public ConnectStateEvent​(GluonObservable gluonObservable,
                                 EventType<? extends ConnectStateEvent> eventType)
        Create a new ConnectStateEvent. Specify the gluon observable and the event type.
        Parameters:
        gluonObservable - The GluonObservable which is firing the event. The GluonObservable really should be an EventTarget, otherwise the EventTarget for the event will be null.
        eventType - The type of event. This should not be null.