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 TypeMethodDescriptionvoid
fromBytes
(byte[] bytes, int offset, int length) ThefromBytes
method is responsible for reading object from buffer of bytes.void
getBytes
(ByteBuffer buffer) ThegetBytes
method is responsible for write object to buffer of bytes.
-
Method Details
-
getBytes
ThegetBytes
method is responsible for write object to buffer of bytes.- Parameters:
buffer
- of bytes
-
fromBytes
void fromBytes(byte[] bytes, int offset, int length) ThefromBytes
method is responsible for reading object from buffer of bytes.- Parameters:
bytes
- buffer of bytesoffset
- offset in bufferlength
- number of bytes to read
-