Package com.epam.fixengine.storage.queue
Interface Queueable
- All Known Implementing Classes:
FIXFieldListWithType
public interface Queueable
The common queueable interface, supported by
Queue.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidfromBytes(byte[] bytes, int offset, int length) ThefromBytesmethod is responsible for reading object from buffer of bytes.voidgetBytes(ByteBuffer buffer) ThegetBytesmethod is responsible for write object to buffer of bytes.
-
Method Details
-
getBytes
ThegetBytesmethod is responsible for write object to buffer of bytes.- Parameters:
buffer- of bytes
-
fromBytes
void fromBytes(byte[] bytes, int offset, int length) ThefromBytesmethod is responsible for reading object from buffer of bytes.- Parameters:
bytes- buffer of bytesoffset- offset in bufferlength- number of bytes to read
-