public static enum MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction extends java.lang.Enum<MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction>
Enum Constant and Description |
---|
C2S
Client-to-Server.
|
S2C
Server-to-Client.
|
Modifier and Type | Method and Description |
---|---|
static MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction C2S
public static final MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction S2C
public static MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction[] values()
for (MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction c : MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction.values()) System.out.println(c);
public static MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null