Enum MsgType

java.lang.Object
java.lang.Enum<MsgType>
org.fisco.bcos.sdk.model.MsgType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MsgType>, java.lang.constant.Constable

public enum MsgType
extends java.lang.Enum<MsgType>
Message types send from fisco bcos node.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    AMOP_CLIENT_TOPICS  
    AMOP_MULBROADCAST  
    AMOP_REQUEST
    Message types processed by AMOP module AMOP_REQUEST:type of request message from sdk AMOP_RESPONSE:type of response message to sdk AMOP_MULBROADCAST:type of mult broadcast message AMOP_CLIENT_TOPICS:type of topic request message REQUEST_TOPICCERT:type of request verify message UPDATE_TOPIICSTATUS:type of update status message
    AMOP_RESPONSE  
    BLOCK_NOTIFY  
    CHANNEL_RPC_REQUEST
    Message types which Client module interested in.
    CLIENT_HANDSHAKE  
    CLIENT_HEARTBEAT
    Message types processed by Client module.
    CLIENT_REGISTER_EVENT_LOG
    Message types processed by EventSubscribe module CLIENT_REGISTER_EVENT_LOG:type of event log filter register request and response message EVENT_LOG_PUSH:type of event log push message
    CLIENT_UNREGISTER_EVENT_LOG  
    EVENT_LOG_PUSH  
    REQUEST_TOPICCERT  
    TRANSACTION_NOTIFY  
    UPDATE_TOPIICSTATUS  
  • Method Summary

    Modifier and Type Method Description
    int getType()  
    void setType​(int type)  
    static MsgType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static MsgType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CHANNEL_RPC_REQUEST

      public static final MsgType CHANNEL_RPC_REQUEST
      Message types which Client module interested in. CHANNEL_RPC_REQUEST: type of rpc request message TRANSACTION_NOTIFY: type of transaction notify message BLOCK_NOTIFY: type of block notify message
    • TRANSACTION_NOTIFY

      public static final MsgType TRANSACTION_NOTIFY
    • BLOCK_NOTIFY

      public static final MsgType BLOCK_NOTIFY
    • CLIENT_HEARTBEAT

      public static final MsgType CLIENT_HEARTBEAT
      Message types processed by Client module. CLIENT_HEARTBEAT:type of heart beat message CLIENT_HANDSHAKE:type of hand shake message
    • CLIENT_HANDSHAKE

      public static final MsgType CLIENT_HANDSHAKE
    • CLIENT_REGISTER_EVENT_LOG

      public static final MsgType CLIENT_REGISTER_EVENT_LOG
      Message types processed by EventSubscribe module CLIENT_REGISTER_EVENT_LOG:type of event log filter register request and response message EVENT_LOG_PUSH:type of event log push message
    • CLIENT_UNREGISTER_EVENT_LOG

      public static final MsgType CLIENT_UNREGISTER_EVENT_LOG
    • EVENT_LOG_PUSH

      public static final MsgType EVENT_LOG_PUSH
    • AMOP_REQUEST

      public static final MsgType AMOP_REQUEST
      Message types processed by AMOP module AMOP_REQUEST:type of request message from sdk AMOP_RESPONSE:type of response message to sdk AMOP_MULBROADCAST:type of mult broadcast message AMOP_CLIENT_TOPICS:type of topic request message REQUEST_TOPICCERT:type of request verify message UPDATE_TOPIICSTATUS:type of update status message
    • AMOP_RESPONSE

      public static final MsgType AMOP_RESPONSE
    • AMOP_MULBROADCAST

      public static final MsgType AMOP_MULBROADCAST
    • AMOP_CLIENT_TOPICS

      public static final MsgType AMOP_CLIENT_TOPICS
    • REQUEST_TOPICCERT

      public static final MsgType REQUEST_TOPICCERT
    • UPDATE_TOPIICSTATUS

      public static final MsgType UPDATE_TOPIICSTATUS
  • Method Details

    • values

      public static MsgType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MsgType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getType

      public int getType()
    • setType

      public void setType​(int type)