Enum SipSession.State

    • Enum Constant Detail

      • INITIAL

        public static final SipSession.State INITIAL
        The SipSession has been created but no dialog-creating response has been seen yet, no SIP dialog exists.
      • EARLY

        public static final SipSession.State EARLY
        A dialog-creating 1xx response has been sent or received, creating an early dialog.
      • CONFIRMED

        public static final SipSession.State CONFIRMED
        A dialog-creating 2xx response has been sent or received, confirming the SIP dialog.
      • TERMINATED

        public static final SipSession.State TERMINATED
        A dialog-terminating request has been sent or received, terminating the SIP dialog.
    • Method Detail

      • values

        public static SipSession.State[] 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 (SipSession.State c : SipSession.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SipSession.State valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isInitial

        public boolean isInitial()
      • isEarly

        public boolean isEarly()
      • isConfirmed

        public boolean isConfirmed()
      • isTerminated

        public boolean isTerminated()