Class Session.SessionMode

  • Enclosing class:
    Session

    private static class Session.SessionMode
    extends Object
    The way the session is used.
    • Field Detail

      • NONE

        public static final int NONE
        The session is still not used. This is the initial mode.
        See Also:
        Constant Field Values
      • RECEIVE

        public static final int RECEIVE
        The session is used to synchronously receive messages.
        See Also:
        Constant Field Values
      • LISTENER

        public static final int LISTENER
        The session is used to asynchronously listen to messages.
        See Also:
        Constant Field Values
      • APP_SERVER

        public static final int APP_SERVER
        The session is used by an application server.
        See Also:
        Constant Field Values
      • names

        private static final String[] names
    • Constructor Detail

      • SessionMode

        private SessionMode()
    • Method Detail

      • toString

        public static String toString​(int status)