Package org.hcjf.io.net
Enum NetService.TransportLayerProtocol
- java.lang.Object
-
- java.lang.Enum<NetService.TransportLayerProtocol>
-
- org.hcjf.io.net.NetService.TransportLayerProtocol
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NetService.TransportLayerProtocol>,java.lang.constant.Constable
- Enclosing class:
- NetService
public static enum NetService.TransportLayerProtocol extends java.lang.Enum<NetService.TransportLayerProtocol>
Transport layer protocols.
-
-
Method Summary
Modifier and Type Method Description static NetService.TransportLayerProtocolvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NetService.TransportLayerProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TCP
public static final NetService.TransportLayerProtocol TCP
-
TCP_SSL
public static final NetService.TransportLayerProtocol TCP_SSL
-
UDP
public static final NetService.TransportLayerProtocol UDP
-
-
Method Detail
-
values
public static NetService.TransportLayerProtocol[] 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 NetService.TransportLayerProtocol 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
-
-