Class ClusterFileTransferResponse
java.lang.Object
org.teamapps.protocol.message.Message
org.teamapps.cluster.model.cluster.ClusterFileTransferResponse
public class ClusterFileTransferResponse
extends org.teamapps.protocol.message.Message
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<byte[],ClusterFileTransferResponse>DECODER_FUNCTIONstatic intROOT_FIELD_IDFields inherited from class org.teamapps.protocol.message.Message
ENCODER -
Constructor Summary
Constructors Constructor Description ClusterFileTransferResponse()ClusterFileTransferResponse(byte[] bytes)ClusterFileTransferResponse(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider)ClusterFileTransferResponse(java.io.DataInputStream dis)ClusterFileTransferResponse(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider)ClusterFileTransferResponse(java.nio.ByteBuffer buf) -
Method Summary
Modifier and Type Method Description java.lang.StringgetFileId()static org.teamapps.protocol.message.MessageDecoder<ClusterFileTransferResponse>getMessageDecoder()longgetReceivedData()ClusterFileTransferResponsesetFileId(java.lang.String value)ClusterFileTransferResponsesetReceivedData(long 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, writeMethods 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[],ClusterFileTransferResponse> DECODER_FUNCTION -
ROOT_FIELD_ID
public static final int ROOT_FIELD_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
ClusterFileTransferResponse
public ClusterFileTransferResponse() -
ClusterFileTransferResponse
public ClusterFileTransferResponse(java.nio.ByteBuffer buf) -
ClusterFileTransferResponse
public ClusterFileTransferResponse(java.io.DataInputStream dis) throws java.io.IOException- Throws:
java.io.IOException
-
ClusterFileTransferResponse
public ClusterFileTransferResponse(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException- Throws:
java.io.IOException
-
ClusterFileTransferResponse
public ClusterFileTransferResponse(byte[] bytes) throws java.io.IOException- Throws:
java.io.IOException
-
ClusterFileTransferResponse
public ClusterFileTransferResponse(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<ClusterFileTransferResponse> getMessageDecoder() -
getFileId
public java.lang.String getFileId() -
setFileId
-
getReceivedData
public long getReceivedData() -
setReceivedData
-