Class ClusterMessageFilePart

java.lang.Object
org.teamapps.protocol.schema.MessageObject
org.teamapps.cluster.protocol.ClusterMessageFilePart

public class ClusterMessageFilePart
extends org.teamapps.protocol.schema.MessageObject
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String OBJECT_UUID  
  • Constructor Summary

    Constructors
    Constructor Description
    ClusterMessageFilePart()  
    ClusterMessageFilePart​(byte[] bytes)  
    ClusterMessageFilePart​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterMessageFilePart​(io.netty.buffer.ByteBuf buf, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterMessageFilePart​(java.io.DataInputStream dis)  
    ClusterMessageFilePart​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterMessageFilePart​(org.teamapps.protocol.schema.MessageObject message, org.teamapps.protocol.schema.PojoObjectDecoderRegistry pojoObjectDecoderRegistry)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getData()  
    java.lang.String getFileId()  
    static org.teamapps.protocol.schema.PojoObjectDecoder<ClusterMessageFilePart> getMessageDecoder()  
    static org.teamapps.protocol.schema.MessageModel getMessageModel()  
    static org.teamapps.protocol.schema.ModelCollection getModelCollection()  
    long getTotalLength()  
    boolean isInitialMessage()  
    boolean isLastMessage()  
    static ClusterMessageFilePart remap​(org.teamapps.protocol.schema.MessageObject message)  
    ClusterMessageFilePart setData​(byte[] value)  
    ClusterMessageFilePart setFileId​(java.lang.String value)  
    ClusterMessageFilePart setInitialMessage​(boolean value)  
    ClusterMessageFilePart setLastMessage​(boolean value)  
    ClusterMessageFilePart setTotalLength​(long value)  

    Methods inherited from class org.teamapps.protocol.schema.MessageObject

    addReference, explain, getBitSetProperty, getBooleanProperty, getByteArrayProperty, getByteProperty, getDoubleArrayProperty, getDoubleProperty, getFileProperty, getFilePropertyAsFile, getFilePropertyAsFileLength, getFilePropertyAsFileName, getFloatArrayProperty, getFloatProperty, getIntArrayProperty, getIntProperty, getLongArrayProperty, getLongProperty, getModel, getName, getProperties, getProperty, getReferencedObject, getReferencedObjectAsType, getReferencedObjects, getReferencedObjectsAsType, getStringArrayProperty, getStringProperty, readMessageObjectUuid, readMessageObjectUuid, removeField, setBitSetProperty, setBooleanProperty, setByteArrayProperty, setByteProperty, setDoubleArrayProperty, setDoubleProperty, setFileProperty, setFileProperty, setFileProperty, setFloatArrayProperty, setFloatProperty, setIntArrayProperty, setIntProperty, setLongArrayProperty, setLongProperty, setProperty, setReferencedObject, setReferencedObjectAsType, setReferencedObjects, setReferencedObjectsAsType, setStringArrayProperty, setStringProperty, toBytes, toBytes, toString, write, write

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • ClusterMessageFilePart

      public ClusterMessageFilePart()
    • ClusterMessageFilePart

      public ClusterMessageFilePart​(org.teamapps.protocol.schema.MessageObject message, org.teamapps.protocol.schema.PojoObjectDecoderRegistry pojoObjectDecoderRegistry)
    • ClusterMessageFilePart

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

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

      public ClusterMessageFilePart​(io.netty.buffer.ByteBuf buf, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterMessageFilePart

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

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

    • getMessageDecoder

      public static org.teamapps.protocol.schema.PojoObjectDecoder<ClusterMessageFilePart> getMessageDecoder()
    • getMessageModel

      public static org.teamapps.protocol.schema.MessageModel getMessageModel()
    • getModelCollection

      public static org.teamapps.protocol.schema.ModelCollection getModelCollection()
    • remap

      public static ClusterMessageFilePart remap​(org.teamapps.protocol.schema.MessageObject message)
    • getFileId

      public java.lang.String getFileId()
    • setFileId

      public ClusterMessageFilePart setFileId​(java.lang.String value)
    • getTotalLength

      public long getTotalLength()
    • setTotalLength

      public ClusterMessageFilePart setTotalLength​(long value)
    • isInitialMessage

      public boolean isInitialMessage()
    • setInitialMessage

      public ClusterMessageFilePart setInitialMessage​(boolean value)
    • isLastMessage

      public boolean isLastMessage()
    • setLastMessage

      public ClusterMessageFilePart setLastMessage​(boolean value)
    • getData

      public byte[] getData()
    • setData

      public ClusterMessageFilePart setData​(byte[] value)