Package org.serviceconnector.scmp
Enum Class SCMPMsgType
- All Implemented Interfaces:
Serializable,Comparable<SCMPMsgType>,Constable,IReversibleEnum<String,SCMPMsgType>
The Enum SCMPMsgType. Defines possible message types 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 ConstantsEnum ConstantDescriptionThe ATTACH.The CHECK_REGISTRATION.The CLN_CHANGE_SUBSCRIPTION.The CLN_CREATE_SESSION.The CLN_DELETE_SESSION.The CLN_EXECUTE.The CLN_SUBSCRIBE.The CLN_UNSUBSCRIBE.The CSC_ABORT_SUBSCRIPTION.The CSC_CHANGE_SUBSCRIPTION.The CSC_CREATE_SESSION.The CSC_DELETE_SESSION.The CSC_EXECUTE.The CSC_SUBSCRIBE.The CSC_UNSUBSCRIBE.The DEREGISTER_SERVER.The DETACH.The ECHO.The FILE_DOWNLOAD.The FILE_LIST.The FILE_UPLOAD.The INSPECT.The MANAGE.The PUBLISH.The RECEIVE_PUBLICATION.The REGISTER_SERVER.The SRV_ABORT_SESSION.The SRV_ABORT_SUBSCRIPTION.The SRV_CHANGE_SUBSCRIPTION.The SRV_CREATE_SESSION.The SRV_DELETE_SESSION.The SRV_EXECUTE.The SRV_SUBSCRIBE.The SRV_UNSUBSCRIBE.The UNDEFINED. -
Method Summary
Modifier and TypeMethodDescriptionstatic SCMPMsgTypegetMsgType(String messageTypeString) Gets the msg type by string.getValue()Return the value/code of the enum constant.Get theEnumconstant by looking up the code in the reverse enum maptoString()static SCMPMsgTypeReturns the enum constant of this class with the specified name.static SCMPMsgType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTACH
The ATTACH. -
DETACH
The DETACH. -
INSPECT
The INSPECT. -
MANAGE
The MANAGE. -
CLN_CREATE_SESSION
The CLN_CREATE_SESSION. -
CSC_CREATE_SESSION
The CSC_CREATE_SESSION. -
SRV_CREATE_SESSION
The SRV_CREATE_SESSION. -
CLN_DELETE_SESSION
The CLN_DELETE_SESSION. -
CSC_DELETE_SESSION
The CSC_DELETE_SESSION. -
SRV_DELETE_SESSION
The SRV_DELETE_SESSION. -
SRV_ABORT_SESSION
The SRV_ABORT_SESSION. -
SRV_ABORT_SUBSCRIPTION
The SRV_ABORT_SUBSCRIPTION. -
CSC_ABORT_SUBSCRIPTION
The CSC_ABORT_SUBSCRIPTION. -
REGISTER_SERVER
The REGISTER_SERVER. -
CHECK_REGISTRATION
The CHECK_REGISTRATION. -
DEREGISTER_SERVER
The DEREGISTER_SERVER. -
CLN_EXECUTE
The CLN_EXECUTE. -
CSC_EXECUTE
The CSC_EXECUTE. -
SRV_EXECUTE
The SRV_EXECUTE. -
ECHO
The ECHO. -
CLN_SUBSCRIBE
The CLN_SUBSCRIBE. -
SRV_SUBSCRIBE
The SRV_SUBSCRIBE. -
CLN_CHANGE_SUBSCRIPTION
The CLN_CHANGE_SUBSCRIPTION. -
SRV_CHANGE_SUBSCRIPTION
The SRV_CHANGE_SUBSCRIPTION. -
CLN_UNSUBSCRIBE
The CLN_UNSUBSCRIBE. -
SRV_UNSUBSCRIBE
The SRV_UNSUBSCRIBE. -
CSC_SUBSCRIBE
The CSC_SUBSCRIBE. -
CSC_CHANGE_SUBSCRIPTION
The CSC_CHANGE_SUBSCRIPTION. -
CSC_UNSUBSCRIBE
The CSC_UNSUBSCRIBE. -
RECEIVE_PUBLICATION
The RECEIVE_PUBLICATION. -
PUBLISH
The PUBLISH. -
FILE_DOWNLOAD
The FILE_DOWNLOAD. -
FILE_UPLOAD
The FILE_UPLOAD. -
FILE_LIST
The FILE_LIST. -
UNDEFINED
The UNDEFINED.
-
-
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
-
getValue
Description copied from interface:IReversibleEnumReturn the value/code of the enum constant.- Specified by:
getValuein interfaceIReversibleEnum<String,SCMPMsgType> - Returns:
- value
-
getMsgType
Gets the msg type by string.- Parameters:
messageTypeString- the messageType as string- Returns:
- the msg type as object
-
reverse
Description copied from interface:IReversibleEnumGet theEnumconstant by looking up the code in the reverse enum map. *- Specified by:
reversein interfaceIReversibleEnum<String,SCMPMsgType> - Parameters:
messageTypeString- the code- Returns:
- V - The enum constant
-
toString
- Overrides:
toStringin classEnum<SCMPMsgType>
-