列挙 HsmsMessageType

java.lang.Object
java.lang.Enum<HsmsMessageType>
com.shimizukenta.secs.hsms.HsmsMessageType
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<HsmsMessageType>, java.lang.constant.Constable

public enum HsmsMessageType
extends java.lang.Enum<HsmsMessageType>
HSMS Message Type.
  • ネストされたクラスの概要

    クラスから継承されたネストされたクラス/インタフェース java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • 列挙型定数の概要

    列挙定数
    列挙型定数 説明
    DATA
    DATA.
    DESELECT_REQ
    DESELECT_REQ.
    DESELECT_RSP
    DESELECT_RSP.
    LINKTEST_REQ
    LINKTEST_REQ.
    LINKTEST_RSP
    LINKTEST_RSP.
    REJECT_REQ
    REJECT_REQ.
    SELECT_REQ
    SELECT_REQ.
    SELECT_RSP
    SELECT_RSP.
    SEPARATE_REQ
    SEPARATE_REQ.
    UNDEFINED
    UNDEFINED.
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    static HsmsMessageType get​(byte p, byte s)
    Returns HSMS Message Type.
    static HsmsMessageType get​(HsmsMessage msg)
    Returns HSMS Message Type from HSMS Message.
    byte pType()
    Returns p-Type byte code.
    byte sType()
    Returns s-Type byte code.
    static boolean supportPType​(byte p)
    Returns true if support p-Type, otherwise false
    static boolean supportPType​(HsmsMessage msg)
    Returns true if support p-Type Message, otherwise false.
    static boolean supportSType​(byte s)
    Returns true if support s-Type, otherwise false
    static boolean supportSType​(HsmsMessage msg)
    Returns true if support s-Type Message, otherwise false.
    static HsmsMessageType valueOf​(java.lang.String name)
    指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
    static HsmsMessageType[] values()
    この列挙型の定数を含む配列を宣言されている順序で 返します。

    クラスから継承されたメソッド java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    クラスから継承されたメソッド java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 列挙型定数の詳細

    • UNDEFINED

      public static final HsmsMessageType UNDEFINED
      UNDEFINED.
    • DATA

      public static final HsmsMessageType DATA
      DATA.

      P: 0x00
      S: 0x00

    • SELECT_REQ

      public static final HsmsMessageType SELECT_REQ
      SELECT_REQ.

      P: 0x00
      S: 0x01

    • SELECT_RSP

      public static final HsmsMessageType SELECT_RSP
      SELECT_RSP.

      P: 0x00
      S: 0x02

    • DESELECT_REQ

      public static final HsmsMessageType DESELECT_REQ
      DESELECT_REQ.

      P: 0x00
      S: 0x03

    • DESELECT_RSP

      public static final HsmsMessageType DESELECT_RSP
      DESELECT_RSP.

      P: 0x00
      S: 0x04

    • LINKTEST_REQ

      public static final HsmsMessageType LINKTEST_REQ
      LINKTEST_REQ.

      P: 0x00
      S: 0x05

    • LINKTEST_RSP

      public static final HsmsMessageType LINKTEST_RSP
      LINKTEST_RSP.

      P: 0x00
      S: 0x06

    • REJECT_REQ

      public static final HsmsMessageType REJECT_REQ
      REJECT_REQ.

      P: 0x00
      S: 0x07

    • SEPARATE_REQ

      public static final HsmsMessageType SEPARATE_REQ
      SEPARATE_REQ.

      P: 0x00
      S: 0x09

  • メソッドの詳細

    • values

      public static HsmsMessageType[] values()
      この列挙型の定数を含む配列を宣言されている順序で 返します。
      戻り値:
      この列挙型の定数を含む、宣言されている順序での配列
    • valueOf

      public static HsmsMessageType valueOf​(java.lang.String name)
      指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      java.lang.IllegalArgumentException - この列挙型に、指定した名前の定数がない場合
      java.lang.NullPointerException - 引数がnullの場合
    • pType

      public byte pType()
      Returns p-Type byte code.
      戻り値:
      p-Type byte code
    • sType

      public byte sType()
      Returns s-Type byte code.
      戻り値:
      s-Type byte code
    • get

      public static HsmsMessageType get​(byte p, byte s)
      Returns HSMS Message Type.
      パラメータ:
      p - p-Type byte code
      s - s-Type byte code
      戻り値:
      HSMS Message Type
    • get

      public static HsmsMessageType get​(HsmsMessage msg)
      Returns HSMS Message Type from HSMS Message.
      パラメータ:
      msg - HSMS Message
      戻り値:
      HSMS Message Type
    • supportPType

      public static boolean supportPType​(byte p)
      Returns true if support p-Type, otherwise false
      パラメータ:
      p - byte code
      戻り値:
      true if support p-Type, otherwise false
    • supportPType

      public static boolean supportPType​(HsmsMessage msg)
      Returns true if support p-Type Message, otherwise false.
      パラメータ:
      msg - the HSMS message
      戻り値:
      true if support p-Type Message, otherwise false
    • supportSType

      public static boolean supportSType​(byte s)
      Returns true if support s-Type, otherwise false
      パラメータ:
      s - byte code
      戻り値:
      true if support s-Type, otherwise false
    • supportSType

      public static boolean supportSType​(HsmsMessage msg)
      Returns true if support s-Type Message, otherwise false.
      パラメータ:
      msg - the HSMS message
      戻り値:
      true if support s-Type Message, otherwise false