Enum EConfigure.ConnectionType

    • Enum Constant Detail

      • SECURE_TCP

        public static final EConfigure.ConnectionType SECURE_TCP
        Remote application connection is a TCP socket using TLS (Transport Layer Security) to provide communication security.
      • SECURE_UDP

        public static final EConfigure.ConnectionType SECURE_UDP
        Remote application connection is a UDP socket using DTLS (Datagram Transport Layer Security) to provide communication security.
    • Method Detail

      • values

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

        public static EConfigure.ConnectionType 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
      • isTcp

        public boolean isTcp()
        Returns true if this is a TCP connection type and false otherwise.
        Returns:
        true if a TCP connection type.
      • isSecure

        public boolean isSecure()
        Returns true if this is a secure connection type and fales if a clear text connection.
        Returns:
        true if connection type is secure.
      • sslProtocol

        public String sslProtocol()
        Returns SSL protocol name associated with a secure connection type. If connection type is insecure, then returns null.
        Returns:
        SSL protocol name or null if connection type is insecure.