Enum TransportProtocol
- java.lang.Object
-
- java.lang.Enum<TransportProtocol>
-
- de.unistuttgart.isw.sfsc.commonjava.zmq.reactor.TransportProtocol
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransportProtocol>,java.lang.constant.Constable
public enum TransportProtocol extends java.lang.Enum<TransportProtocol>
-
-
Method Summary
Modifier and Type Method Description java.lang.StringasString()static TransportProtocolvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransportProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TCP
public static final TransportProtocol TCP
-
INPROC
public static final TransportProtocol INPROC
-
IPC
public static final TransportProtocol IPC
-
-
Method Detail
-
values
public static TransportProtocol[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransportProtocol 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 namejava.lang.NullPointerException- if the argument is null
-
asString
public java.lang.String asString()
-
-