Class ClusterTopicMessage

java.lang.Object
org.teamapps.protocol.message.Message
org.teamapps.cluster.model.cluster.ClusterTopicMessage

public class ClusterTopicMessage
extends org.teamapps.protocol.message.Message
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.util.function.Function<byte[],​ClusterTopicMessage> DECODER_FUNCTION  
    static int ROOT_FIELD_ID  

    Fields inherited from class org.teamapps.protocol.message.Message

    ENCODER
  • Constructor Summary

    Constructors
    Constructor Description
    ClusterTopicMessage()  
    ClusterTopicMessage​(byte[] bytes)  
    ClusterTopicMessage​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterTopicMessage​(java.io.DataInputStream dis)  
    ClusterTopicMessage​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterTopicMessage​(java.nio.ByteBuffer buf)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getData()  
    static org.teamapps.protocol.message.MessageDecoder<ClusterTopicMessage> getMessageDecoder()  
    java.lang.String getTopic()  
    ClusterTopicMessage setData​(byte[] value)  
    ClusterTopicMessage setTopic​(java.lang.String value)  

    Methods inherited from class org.teamapps.protocol.message.Message

    addMessage, addMultiReference, explain, getBitSetValue, getBitSetValue, getBitSetValue, getBooleanValue, getBooleanValue, getBooleanValue, getByteArrayValue, getByteArrayValue, getByteArrayValue, getByteValue, getByteValue, getByteValue, getDoubleArrayValue, getDoubleArrayValue, getDoubleArrayValue, getDoubleValue, getDoubleValue, getDoubleValue, getField, getFieldId, getFileValue, getFileValue, getFloatArrayValue, getFloatArrayValue, getFloatArrayValue, getFloatValue, getFloatValue, getFloatValue, getIntArrayValue, getIntArrayValue, getIntArrayValue, getIntValue, getIntValue, getIntValue, getLongArrayValue, getLongArrayValue, getLongArrayValue, getLongValue, getLongValue, getLongValue, getMessageByFieldId, getMessageByFieldName, getMessageFieldId, getMessageList, getMessageList, getMessageObject, getMessageObject, getMessageObjectValue, getMessageObjectValue, getMessageObjectValue, getMessageValue, getStringArrayValue, getStringArrayValue, getStringArrayValue, getStringValue, getStringValue, getStringValue, isMultiReference, isObject, isObjectOrMultiReference, isObjectReference, isSingleReference, setPropertyValue, setPropertyValue, setSingleReference, setValue, toBytes, toBytes, toString, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • DECODER_FUNCTION

      public static final java.util.function.Function<byte[],​ClusterTopicMessage> DECODER_FUNCTION
    • ROOT_FIELD_ID

      public static final int ROOT_FIELD_ID
      See Also:
      Constant Field Values
  • Constructor Details

    • ClusterTopicMessage

      public ClusterTopicMessage()
    • ClusterTopicMessage

      public ClusterTopicMessage​(java.nio.ByteBuffer buf)
    • ClusterTopicMessage

      public ClusterTopicMessage​(java.io.DataInputStream dis) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterTopicMessage

      public ClusterTopicMessage​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterTopicMessage

      public ClusterTopicMessage​(byte[] bytes) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterTopicMessage

      public ClusterTopicMessage​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getMessageDecoder

      public static org.teamapps.protocol.message.MessageDecoder<ClusterTopicMessage> getMessageDecoder()
    • getTopic

      public java.lang.String getTopic()
    • setTopic

      public ClusterTopicMessage setTopic​(java.lang.String value)
    • getData

      public byte[] getData()
    • setData

      public ClusterTopicMessage setData​(byte[] value)