Enum SubscriptionManagerState

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE
      Indicates there is active connection with the subscription server and GraphQL session has been initialized.
      CONNECTED
      Indicates there is active connection with the subscription server, waiting for GraphQL session to be initialized.
      CONNECTING
      Indicates manager is trying to connect to the subscription server.
      DISCONNECTED
      Indicates there is no active connection to the subscription server.
      STOPPED
      Indicates user stopped GraphQL session and disconnected from the subscription server.
      STOPPING
      Indicates user initiates manager to stop GraphQL session and disconnect from the subscription server.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SubscriptionManagerState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SubscriptionManagerState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DISCONNECTED

        public static final SubscriptionManagerState DISCONNECTED
        Indicates there is no active connection to the subscription server.
      • CONNECTING

        public static final SubscriptionManagerState CONNECTING
        Indicates manager is trying to connect to the subscription server.
      • CONNECTED

        public static final SubscriptionManagerState CONNECTED
        Indicates there is active connection with the subscription server, waiting for GraphQL session to be initialized.
      • ACTIVE

        public static final SubscriptionManagerState ACTIVE
        Indicates there is active connection with the subscription server and GraphQL session has been initialized. Subscriptions are ready to use.
      • STOPPING

        public static final SubscriptionManagerState STOPPING
        Indicates user initiates manager to stop GraphQL session and disconnect from the subscription server.
      • STOPPED

        public static final SubscriptionManagerState STOPPED
        Indicates user stopped GraphQL session and disconnected from the subscription server.
    • Method Detail

      • values

        public static SubscriptionManagerState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SubscriptionManagerState c : SubscriptionManagerState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SubscriptionManagerState valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null