Package org.serviceconnector.net
Enum Class SCMPHeaderKey
- All Implemented Interfaces:
Serializable,Comparable<SCMPHeaderKey>,Constable
The Enum SCMPHeadlineKey. Defines possible headline key in SCMP.
- Author:
- JTraber
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SCMPHeaderKeygetKeyByHeadline(byte[] b) Gets the key by headline (byte buffer).static SCMPHeaderKeygetKeyByHeadline(String string) Gets the key by headline (string).static SCMPHeaderKeygetMsgHeaderKey(String headerKey) Gets the msg header key by string.static SCMPHeaderKeyReturns the enum constant of this class with the specified name.static SCMPHeaderKey[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEF
The UNDEF, UNDEFINED. -
REQ
The REQ, REQUEST. -
RES
The RES, RESPONSE. -
EXC
The EXC, EXCEPTION. -
PRQ
The PRQ, PART REQUEST. -
PRS
The PRS, PART RESPONSE. -
PAC
The PAC, PART ACKNOWLEDGE. -
KRQ
The KRQ. KEEP ALIVE REQUEST. -
KRS
The KRS. KEEP ALIVE RESPONSE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getMsgHeaderKey
Gets the msg header key by string.- Parameters:
headerKey- the header key- Returns:
- the msg header key
-
getKeyByHeadline
Gets the key by headline (byte buffer).- Parameters:
b- the b- Returns:
- the key by headline
-
getKeyByHeadline
Gets the key by headline (string).- Parameters:
string- the string- Returns:
- the key by headline
-