Package org.teamapps.cluster.protocol
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.StringOBJECT_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.StringgetFileId()static org.teamapps.protocol.schema.PojoObjectDecoder<ClusterMessageFilePart>getMessageDecoder()static org.teamapps.protocol.schema.MessageModelgetMessageModel()static org.teamapps.protocol.schema.ModelCollectiongetModelCollection()longgetTotalLength()booleanisInitialMessage()booleanisLastMessage()static ClusterMessageFilePartremap(org.teamapps.protocol.schema.MessageObject message)ClusterMessageFilePartsetData(byte[] value)ClusterMessageFilePartsetFileId(java.lang.String value)ClusterMessageFilePartsetInitialMessage(boolean value)ClusterMessageFilePartsetLastMessage(boolean value)ClusterMessageFilePartsetTotalLength(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, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
OBJECT_UUID
public static final java.lang.String OBJECT_UUID- See Also:
- Constant Field Values
-
-
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
-
getFileId
public java.lang.String getFileId() -
setFileId
-
getTotalLength
public long getTotalLength() -
setTotalLength
-
isInitialMessage
public boolean isInitialMessage() -
setInitialMessage
-
isLastMessage
public boolean isLastMessage() -
setLastMessage
-
getData
public byte[] getData() -
setData
-