public interface PayloadEntry
PayloadEntry stores the last known or applied value of an OMM item.
PayloadEntry efficiently stores OMM containers (one per entry), e.g. FieldList, Map,
Series, Vector, FilterList or ElementList.
NotePayloadCache,
PayloadCursor,
CacheError| Modifier and Type | Interface and Description |
|---|---|
static class |
PayloadEntry.PayloadEntryTraceFormat
Trace format options in which to display a decoded output of the payload entry data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
apply(com.refinitiv.eta.codec.DecodeIterator dIter,
com.refinitiv.eta.codec.Msg msg,
CacheError error)
Applies the partially decoded Msg to the payload entry.
|
void |
clear()
Clears the OMM data contents of this entry.
|
short |
dataType()
Returns the payload entry data type
When the entry is first created, or cleared, returns DataTypes.UNKNOWN.
|
void |
destroy()
Removes the payload entry from its cache and destroys the entry.
|
int |
retrieve(com.refinitiv.eta.codec.EncodeIterator eIter,
PayloadCursor cursor,
CacheError error)
Retrieves encoded OMM data from the cache payload entry.
|
int |
trace(int traceFormat,
java.io.PrintWriter fileWriter,
com.refinitiv.eta.codec.DataDictionary dictionary)
Display the cache payload entry contents by writing to the given fileWriter.
|
int apply(com.refinitiv.eta.codec.DecodeIterator dIter,
com.refinitiv.eta.codec.Msg msg,
CacheError error)
dIter - The decode iterator positioned at the payload of the messagemsg - The partially decoded message structureerror - The error information structure will be populated if the
payload data from the message could not be written to the cache entryint retrieve(com.refinitiv.eta.codec.EncodeIterator eIter,
PayloadCursor cursor,
CacheError error)
eIter - The OMM payload data in the cache entry will be encoded into the
buffer associated with this iterator.cursor - The cursor is required to support multi-part (fragmented)
retrieval of the OMM data in the cache entry. Clear the cursor (PayloadCursor.clear)
prior to the first retrieval from the payload entry. The cursor is not needed for
single part retrieval.error - The error in formation structure will be populated if payload
entry cache data could not be retrieved.short dataType()
void destroy()
void clear()
int trace(int traceFormat,
java.io.PrintWriter fileWriter,
com.refinitiv.eta.codec.DataDictionary dictionary)
traceFormat - Option for specifying the type of information displayed for the entryfileWriter - The file writer where the trace information will be written. Supports
write into a file or standard output.dictionary - The dictionary structure used to decode the OMM data from the cache entryCopyright @ 2021 Refinitiv. All Rights Reserved.