public class SerializeState extends PackerStore
Modifier and Type | Class and Description |
---|---|
static class |
SerializeState.Part |
static class |
SerializeState.StoredData |
Constructor and Description |
---|
SerializeState() |
Modifier and Type | Method and Description |
---|---|
int |
getBufferNo() |
int |
getCurrentHeaderLength() |
int |
getCurrentObjectIndex() |
SerializeState.Part |
getPart() |
int |
getTotalBytes() |
boolean |
reset(boolean completed) |
byte[] |
retrieve()
Retrieve the stored serialized message
|
void |
setBufferNo(int bufferNo) |
void |
setCurrentHeaderLength(int currentHeaderLength) |
void |
setCurrentObjectIndex(int currentObjectIndex) |
void |
setPart(SerializeState.Part part) |
void |
store(byte[] data)
Stores the serialized data temporarily
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public void store(byte[] data)
PackerStore
store
in class PackerStore
public byte[] retrieve()
PackerStore
retrieve
in class PackerStore
public int getTotalBytes()
public int getCurrentObjectIndex()
public int getBufferNo()
public void setCurrentObjectIndex(int currentObjectIndex)
public void setBufferNo(int bufferNo)
public SerializeState.Part getPart()
public void setPart(SerializeState.Part part)
public int getCurrentHeaderLength()
public void setCurrentHeaderLength(int currentHeaderLength)
public boolean reset(boolean completed)