Enum Class SCMPMsgType

java.lang.Object
java.lang.Enum<SCMPMsgType>
org.serviceconnector.scmp.SCMPMsgType
All Implemented Interfaces:
Serializable, Comparable<SCMPMsgType>, Constable, IReversibleEnum<String,SCMPMsgType>

public enum SCMPMsgType extends Enum<SCMPMsgType> implements IReversibleEnum<String,SCMPMsgType>
The Enum SCMPMsgType. Defines possible message types in SCMP.
Author:
JTraber
  • Enum Constant Details

    • ATTACH

      public static final SCMPMsgType ATTACH
      The ATTACH.
    • DETACH

      public static final SCMPMsgType DETACH
      The DETACH.
    • INSPECT

      public static final SCMPMsgType INSPECT
      The INSPECT.
    • MANAGE

      public static final SCMPMsgType MANAGE
      The MANAGE.
    • CLN_CREATE_SESSION

      public static final SCMPMsgType CLN_CREATE_SESSION
      The CLN_CREATE_SESSION.
    • CSC_CREATE_SESSION

      public static final SCMPMsgType CSC_CREATE_SESSION
      The CSC_CREATE_SESSION.
    • SRV_CREATE_SESSION

      public static final SCMPMsgType SRV_CREATE_SESSION
      The SRV_CREATE_SESSION.
    • CLN_DELETE_SESSION

      public static final SCMPMsgType CLN_DELETE_SESSION
      The CLN_DELETE_SESSION.
    • CSC_DELETE_SESSION

      public static final SCMPMsgType CSC_DELETE_SESSION
      The CSC_DELETE_SESSION.
    • SRV_DELETE_SESSION

      public static final SCMPMsgType SRV_DELETE_SESSION
      The SRV_DELETE_SESSION.
    • SRV_ABORT_SESSION

      public static final SCMPMsgType SRV_ABORT_SESSION
      The SRV_ABORT_SESSION.
    • SRV_ABORT_SUBSCRIPTION

      public static final SCMPMsgType SRV_ABORT_SUBSCRIPTION
      The SRV_ABORT_SUBSCRIPTION.
    • CSC_ABORT_SUBSCRIPTION

      public static final SCMPMsgType CSC_ABORT_SUBSCRIPTION
      The CSC_ABORT_SUBSCRIPTION.
    • REGISTER_SERVER

      public static final SCMPMsgType REGISTER_SERVER
      The REGISTER_SERVER.
    • CHECK_REGISTRATION

      public static final SCMPMsgType CHECK_REGISTRATION
      The CHECK_REGISTRATION.
    • DEREGISTER_SERVER

      public static final SCMPMsgType DEREGISTER_SERVER
      The DEREGISTER_SERVER.
    • CLN_EXECUTE

      public static final SCMPMsgType CLN_EXECUTE
      The CLN_EXECUTE.
    • CSC_EXECUTE

      public static final SCMPMsgType CSC_EXECUTE
      The CSC_EXECUTE.
    • SRV_EXECUTE

      public static final SCMPMsgType SRV_EXECUTE
      The SRV_EXECUTE.
    • ECHO

      public static final SCMPMsgType ECHO
      The ECHO.
    • CLN_SUBSCRIBE

      public static final SCMPMsgType CLN_SUBSCRIBE
      The CLN_SUBSCRIBE.
    • SRV_SUBSCRIBE

      public static final SCMPMsgType SRV_SUBSCRIBE
      The SRV_SUBSCRIBE.
    • CLN_CHANGE_SUBSCRIPTION

      public static final SCMPMsgType CLN_CHANGE_SUBSCRIPTION
      The CLN_CHANGE_SUBSCRIPTION.
    • SRV_CHANGE_SUBSCRIPTION

      public static final SCMPMsgType SRV_CHANGE_SUBSCRIPTION
      The SRV_CHANGE_SUBSCRIPTION.
    • CLN_UNSUBSCRIBE

      public static final SCMPMsgType CLN_UNSUBSCRIBE
      The CLN_UNSUBSCRIBE.
    • SRV_UNSUBSCRIBE

      public static final SCMPMsgType SRV_UNSUBSCRIBE
      The SRV_UNSUBSCRIBE.
    • CSC_SUBSCRIBE

      public static final SCMPMsgType CSC_SUBSCRIBE
      The CSC_SUBSCRIBE.
    • CSC_CHANGE_SUBSCRIPTION

      public static final SCMPMsgType CSC_CHANGE_SUBSCRIPTION
      The CSC_CHANGE_SUBSCRIPTION.
    • CSC_UNSUBSCRIBE

      public static final SCMPMsgType CSC_UNSUBSCRIBE
      The CSC_UNSUBSCRIBE.
    • RECEIVE_PUBLICATION

      public static final SCMPMsgType RECEIVE_PUBLICATION
      The RECEIVE_PUBLICATION.
    • PUBLISH

      public static final SCMPMsgType PUBLISH
      The PUBLISH.
    • FILE_DOWNLOAD

      public static final SCMPMsgType FILE_DOWNLOAD
      The FILE_DOWNLOAD.
    • FILE_UPLOAD

      public static final SCMPMsgType FILE_UPLOAD
      The FILE_UPLOAD.
    • FILE_LIST

      public static final SCMPMsgType FILE_LIST
      The FILE_LIST.
    • UNDEFINED

      public static final SCMPMsgType UNDEFINED
      The UNDEFINED.
  • Method Details

    • values

      public static SCMPMsgType[] 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

      public static SCMPMsgType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Description copied from interface: IReversibleEnum
      Return the value/code of the enum constant.
      Specified by:
      getValue in interface IReversibleEnum<String,SCMPMsgType>
      Returns:
      value
    • getMsgType

      public static SCMPMsgType getMsgType(String messageTypeString)
      Gets the msg type by string.
      Parameters:
      messageTypeString - the messageType as string
      Returns:
      the msg type as object
    • reverse

      public SCMPMsgType reverse(String messageTypeString)
      Description copied from interface: IReversibleEnum
      Get the Enum constant by looking up the code in the reverse enum map. *
      Specified by:
      reverse in interface IReversibleEnum<String,SCMPMsgType>
      Parameters:
      messageTypeString - the code
      Returns:
      V - The enum constant
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SCMPMsgType>