public final class RawMessageViewImpl extends MessageViewImpl implements UtlPool.Item<RawMessageViewImpl>, CopyableMessageView<RawMessageViewImpl>
count, head, next, prevENCODING_TYPE_CUSTOM, ENCODING_TYPE_JSON, ENCODING_TYPE_PROTOBUF, ENCODING_TYPE_QUARK, ENCODING_TYPE_XBUF, ENCODING_TYPE_XBUF2, NEXT_FREE_ENCODING_TYPE| Modifier and Type | Method and Description |
|---|---|
RawMessageViewImpl |
copy()
Creates a shallow copy of the object.
|
RawMessageViewImpl |
deserializeFromByteArray(byte[] array)
Implementation of
MessageView.deserializeFromByteArray(byte[]) |
RawMessageViewImpl |
deserializeFromByteBuffer(ByteBuffer buffer)
Implementation of
MessageView.deserializeFromByteBuffer(java.nio.ByteBuffer) |
RawMessageViewImpl |
deserializeFromJson(String json)
Implementation of
MessageView.deserializeFromJson(java.lang.String) |
RawMessageViewImpl |
deserializeFromPacket(PktPacket packet)
Implementation of
MessageView.deserializeFromPacket(com.neeve.pkt.PktPacket) |
int |
dispose()
Default implementation of
MessageView.dispose()
This is the default implementation of the dispose method. |
long |
getAppSendBeginTs()
Get's the time at which the application considers send for a message to start.
|
long |
getAppSendDoneTs()
Get's the time at which the application considers send for a message to be complete.
|
long |
getCreateTs()
Get a message's create timestamp.
|
long |
getEnqueueTs()
Get a message's enqueue timestamp in milliseconds
|
long |
getEnqueueTsMicros()
Get a message's enqueue timestamp
This timestamp, in microseconds, specifies the time just
before a message was enqueued on an application's input queue.
|
String |
getMessageBus()
Implementation of
MessageView.getMessageBus() |
XString |
getMessageBusAsRaw()
Implementation of
MessageView.getMessageBusAsRaw() |
String |
getMessageChannel()
Implementation of
MessageView.getMessageChannel() |
XString |
getMessageChannelAsRaw()
Implementation of
MessageView.getMessageChannelAsRaw() |
int |
getMessageFlow()
Implementation of
MessageView.getMessageFlow() |
String |
getMessageKey()
Implementation of
MessageView.getMessageKey() |
XString |
getMessageKeyAsRaw()
Implementation of
MessageView.getMessageKeyAsRaw() |
int |
getMessageSender()
Implementation of
MessageView.getMessageSender() |
long |
getMessageSequenceNumber()
Implementation of
MessageView.getMessageSequenceNumber() |
MessageTransportHeaders |
getMessageTransportHeaders()
Implementation of
MessageView.getMessageTransportHeaders() |
long |
getOriginTs()
Get a message's origin timestamp.
|
long |
getOutTs()
Get a message's out timestamp.
|
long |
getOutTsMicros()
Get a message's out timestamp in microseconds since the epoch.
|
UtlPool<RawMessageViewImpl> |
getPool()
Get a pool item's pool.
|
long |
getPostDeserializeTs()
Get a message's post-deserialize timestamp.
|
long |
getPostProcessingTs()
Deprecated.
|
long |
getPostProcessingTsMicros()
Get a message's post-processing timestamp.
|
long |
getPostSerializeTs()
Get a message's post-serialize timestamp.
|
long |
getPostWireSendTs()
Get a message's post-wire timestamp.
|
long |
getPostWireTs()
Get a message's post-wire timestamp.
|
long |
getPreDeserializeTs()
Get a message's pre-deserialize timestamp.
|
long |
getPreProcessingTs()
Get a message's pre-processing timestamp.
|
long |
getPreProcessingTsMicros()
Get a message's pre-processing timestamp in microseconds.
|
long |
getPreSerializeTs()
Get a message's pre-serialize timestamp.
|
long |
getPreWireTs()
Get a message's pre-wire timestamp.
|
long |
getReceiveTs()
Get a message's receive timestamp.
|
long |
getSendStartTs()
Get a message's send timestamp.
|
long |
getSendTs()
Get a message's send timestamp.
|
RawMessageViewImpl |
init()
Initialize an item.
|
boolean |
isPossibleDuplicate()
Implementation of
MessageView.isPossibleDuplicate() |
void |
resolveMessageKeyWith(MessageChannelKeyResolver channelKeyResolver,
MessageChannel.RawKeyResolutionTable rawKeyResolutionTable)
Set the message key for this message using the provided keyResolver and keyResolutionTable.
|
void |
resolveMessageKeyWith(MessageChannelKeyResolver channelKeyResolver,
Properties keyResolutionTable)
Set the message key for this message using the provided keyResolver and keyResolutionTable.
|
byte[] |
serializeToByteArray()
Implementation of
MessageView.serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer()
Implementation of
MessageView.serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Default implementation of
MessageView.serializeToIOBuffer(boolean) |
String |
serializeToJson()
Implementation of
MessageView.serializeToJson() |
PktPacket |
serializeToPacket()
Implementation of
MessageView.serializeToPacket() |
MessageView |
setAppSendBeginTs(long ts)
Time at which the application considers send for a message to start.
|
MessageView |
setAppSendDoneTs(long ts)
Set's the time at which the application considers send for a message to be complete.
|
MessageView |
setCreateTs(long ts)
Set a message's create timestamp.
|
MessageView |
setEnqueueTsMicros(long ts)
Sets a message's enqueue timestamp
This timestamp, in microseconds, specifies the time just
before a message was enqueued on an application's input queue.
|
MessageView |
setMessageBus(String name)
Implementation of
MessageView.setMessageBus(java.lang.String) |
MessageView |
setMessageBusAsRaw(XString bus)
Implementation of
MessageView.setMessageBusAsRaw(com.neeve.lang.XString) |
MessageView |
setMessageChannel(String name)
Implementation of
MessageView.setMessageChannel(java.lang.String) |
MessageView |
setMessageChannelAsRaw(XString channel)
Implementation of
MessageView.setMessageChannelAsRaw(com.neeve.lang.XString) |
MessageView |
setMessageFlow(int flow)
Implementation of
MessageView.setMessageFlow(int) |
MessageView |
setMessageKey(String key)
Implementation of
MessageView.setMessageKey(java.lang.String) |
MessageView |
setMessageKeyAsRaw(XString key)
Implementation of
MessageView.setMessageKey(java.lang.String) |
MessageView |
setMessageSender(int sender)
Implementation of
MessageView.setMessageSender(int) |
MessageView |
setMessageSequenceNumber(long sno)
Implementation of
MessageView.setMessageSequenceNumber(long) |
MessageView |
setMessageTransportHeaders(MessageTransportHeaders val)
|
MessageView |
setOriginTs(long ts)
Set a message's origin timestamp.
|
MessageView |
setOutTs(long ts)
Deprecated.
|
MessageView |
setOutTsMicros(long ts)
Set a message's out timestamp in microseconds since the epoch.
|
RawMessageViewImpl |
setPool(UtlPool<RawMessageViewImpl> pool)
Set a pool item's pool.
|
MessageView |
setPossibleDuplicate()
Implementation of
MessageView.setPossibleDuplicate() |
MessageView |
setPostDeserializeTs(long ts)
Set a message's post-deserialize timestamp.
|
MessageView |
setPostProcessingTs(long ts)
Deprecated.
|
MessageView |
setPostProcessingTsMicros(long ts)
Set a message's post-processing timestamp.
|
MessageView |
setPostSerializeTs(long ts)
Set a message's post-serialize timestamp.
|
RawMessageViewImpl |
setPostWireSendTs(long ts)
Set a message's post-wire send timestamp.
|
MessageView |
setPostWireTs(long ts)
Set a message's post-wire timestamp.
|
MessageView |
setPreDeserializeTs(long ts)
Set a message's pre-deserialize timestamp.
|
MessageView |
setPreProcessingTs(long ts)
Deprecated.
|
MessageView |
setPreProcessingTsMicros(long ts)
Set a message's pre-processing timestamp in microseconds.
|
MessageView |
setPreSerializeTs(long ts)
Set a message's pre-serialize timestamp.
|
MessageView |
setPreWireTs(long ts)
Set a message's pre-wire timestamp.
|
MessageView |
setReceiveTs(long ts)
Set a message's receive timestamp.
|
MessageView |
setSendStartTs(long ts)
Set a message's send timestamp.
|
MessageView |
setSendTs(long ts)
Set a message's send timestamp.
|
void |
sync()
Implementation of
MessageView.sync() |
acquire, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, saveMemory, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, setTag, toStringcount, insertAfter, insertBefore, isLinked, next, previous, unlink, wipeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitacquire, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, saveMemory, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, setTagreferenceTrackerpublic MessageTransportHeaders getMessageTransportHeaders()
MessageViewImplMessageView.getMessageTransportHeaders()getMessageTransportHeaders in interface MessageViewgetMessageTransportHeaders in class MessageViewImplnull if transport headers
are disabled, not present, or not supported by the MessageViewpublic MessageView setMessageTransportHeaders(MessageTransportHeaders val)
MessageViewImplsetMessageTransportHeaders in interface MessageViewsetMessageTransportHeaders in class MessageViewImplval - The headers to set on the message (or null to clear the transport headers).public final RawMessageViewImpl init()
UtlPool.ItemThis method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init in interface UtlPool.Item<RawMessageViewImpl>public final RawMessageViewImpl setPool(UtlPool<RawMessageViewImpl> pool)
UtlPool.ItemThis method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool in interface UtlPool.Item<RawMessageViewImpl>public final UtlPool<RawMessageViewImpl> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<RawMessageViewImpl>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public int dispose()
MessageViewImplMessageView.dispose()
This is the default implementation of the dispose method. The implementation just decrements the ownership count. Implementations that implement view object pooling or other such functionality should override this method but invoke this method to decrement the object reference count.
dispose in interface MessageViewdispose in class MessageViewImplpublic final MessageView setMessageBus(String name)
MessageView.setMessageBus(java.lang.String)setMessageBus in interface MessageViewname - The message bus name to set.public final String getMessageBus()
MessageView.getMessageBus()getMessageBus in interface MessageViewpublic final MessageView setMessageBusAsRaw(XString bus)
MessageView.setMessageBusAsRaw(com.neeve.lang.XString)setMessageBusAsRaw in interface MessageViewbus - The message bus to set.public final XString getMessageBusAsRaw()
MessageView.getMessageBusAsRaw()public final MessageView setMessageChannel(String name)
MessageView.setMessageChannel(java.lang.String)setMessageChannel in interface MessageViewname - The message channel name to set.public final String getMessageChannel()
MessageView.getMessageChannel()getMessageChannel in interface MessageViewMessageBusBinding.PROP_SET_BUS_AND_CHANNEL_ON_RECEIPT,
MessageView.getMessageChannelAsRaw()public final MessageView setMessageChannelAsRaw(XString channel)
MessageView.setMessageChannelAsRaw(com.neeve.lang.XString)setMessageChannelAsRaw in interface MessageViewchannel - The message channel to set.public final XString getMessageChannelAsRaw()
MessageView.getMessageChannelAsRaw()getMessageChannelAsRaw in interface MessageViewMessageView.getMessageChannel()public final MessageView setMessageKey(String key)
MessageView.setMessageKey(java.lang.String)setMessageKey in interface MessageViewkey - The message key to set.public final String getMessageKey()
MessageView.getMessageKey()getMessageKey in interface MessageViewMessageBusBinding.PROP_SET_KEY_ON_RECEIPTpublic final MessageView setMessageKeyAsRaw(XString key)
MessageView.setMessageKey(java.lang.String)setMessageKeyAsRaw in interface MessageViewkey - The message key to set.public final XString getMessageKeyAsRaw()
MessageView.getMessageKeyAsRaw()getMessageKeyAsRaw in interface MessageViewMessageView.getMessageKey()public final void resolveMessageKeyWith(MessageChannelKeyResolver channelKeyResolver, MessageChannel.RawKeyResolutionTable rawKeyResolutionTable) throws SmaException
MessageViewThis method can be more efficient than first resolving the key using the key resolver and setting it on the message, because the message view implementation can potentially resolve the key directly into the backing buffer rather than having to copy it from a key resolved first through the key resolver.
resolveMessageKeyWith in interface MessageViewchannelKeyResolver - The message key resolver used to build the key.rawKeyResolutionTable - The key resolution table.SmaException - If there is an error in key resolution.MessageChannelKeyResolver#resolveMessageKey(XString, MessageView, RawKeyResolutionTable)public final void resolveMessageKeyWith(MessageChannelKeyResolver channelKeyResolver, Properties keyResolutionTable) throws SmaException
MessageViewThis method can be more efficient than first resolving the key using the key resolver and setting it on the message, because the message view implementation can potentially resolve the key directly into the backing buffer rather than having to copy it from a key resolved first through the key resolver.
This method is not necessarily zero garbage. For zero garbage key resolution use
#resolveMessageKeyWith(MessageChannelKeyResolver, RawKeyResolutionTable)
resolveMessageKeyWith in interface MessageViewchannelKeyResolver - The message key resolver used to build the key.keyResolutionTable - The key resolution table.SmaException - If there is an error in key resolution.MessageChannelKeyResolver.resolveMessageKey(MessageView, Properties)public final MessageView setMessageSender(int sender)
MessageView.setMessageSender(int)setMessageSender in interface MessageViewsender - The message sender to setpublic final int getMessageSender()
MessageView.getMessageSender()getMessageSender in interface MessageViewpublic final MessageView setMessageFlow(int flow)
MessageView.setMessageFlow(int)setMessageFlow in interface MessageViewflow - The message flow to set.public final int getMessageFlow()
MessageView.getMessageFlow()getMessageFlow in interface MessageViewpublic final MessageView setMessageSequenceNumber(long sno)
MessageView.setMessageSequenceNumber(long)setMessageSequenceNumber in interface MessageViewsno - The sequence number to set.public final long getMessageSequenceNumber()
MessageView.getMessageSequenceNumber()getMessageSequenceNumber in interface MessageViewpublic final MessageView setPossibleDuplicate()
MessageView.setPossibleDuplicate()setPossibleDuplicate in interface MessageViewpublic final boolean isPossibleDuplicate()
MessageView.isPossibleDuplicate()isPossibleDuplicate in interface MessageViewpublic final MessageView setOriginTs(long ts)
MessageViewsetOriginTs in interface MessageViewts - The timestamp to set.public final long getOriginTs()
MessageViewThis timestamp, in microseconds, specifies the time at which the first message in this message's flow originated.
getOriginTs in interface MessageViewpublic final MessageView setCreateTs(long ts)
MessageViewsetCreateTs in interface MessageViewts - The timestamp to set.public final long getCreateTs()
MessageViewThis timestamp, in microseconds, specifies the time at which the message was created or, if the message is pooled, the time at which the message was resuscitated from its pool.
getCreateTs in interface MessageViewpublic MessageView setAppSendBeginTs(long ts)
MessageViewsetAppSendBeginTs in interface MessageViewts - The application's send start timestamp.public long getAppSendBeginTs()
MessageViewThis timestamp, in microseconds, specifies the time at which the send started from from the application's view point. This timestamp is the same as outTs unless an application explicitly sets it to an earlier value.
getAppSendBeginTs in interface MessageViewpublic MessageView setAppSendDoneTs(long ts)
MessageViewsetAppSendDoneTs in interface MessageViewpublic long getAppSendDoneTs()
MessageView
This timestamp, in microseconds, specifies the time at which
the send completes from an application's perspective. If the message is sent
in the background this value can be lower even the MessageView.getSendStartTs()
getAppSendDoneTs in interface MessageViewpublic final MessageView setSendTs(long ts)
MessageViewsetSendTs in interface MessageViewts - The timestamp to set.public final long getSendTs()
MessageViewThis timestamp, in microseconds, specifies the time at which the message was offered to the bus for begin the send.
getSendTs in interface MessageViewpublic final MessageView setSendStartTs(long ts)
MessageViewsetSendStartTs in interface MessageViewts - The timestamp to set.public final long getSendStartTs()
MessageViewThis timestamp, in microseconds, specifies the time at which the message was offered to the bus for send.
getSendStartTs in interface MessageView@Deprecated public final MessageView setOutTs(long ts)
MessageViewsetOutTs in interface MessageViewts - The timestamp to set.public final long getOutTs()
MessageView
This timestamp is the same as MessageView.getOutTsMicros() / 1000.
getOutTs in interface MessageViewMessageView.getOutTsMicros()public final MessageView setOutTsMicros(long ts)
MessageView
It is expected that this field will be set via a value obtained from
UtlTime#nowSinceEpoch()
setOutTsMicros in interface MessageViewts - The timestamp to set.UtlTime.nowSinceEpoch()public final long getOutTsMicros()
MessageViewThis timestamp is the same timestamp as which an application called send to initiate the send for the message.
Note that this timestamp is not the timestamp at which a message is actually written to the wire for delivery. A sent message is queued for delivery until the transaction that is is part of is committed.
getOutTsMicros in interface MessageViewpublic final MessageView setPreSerializeTs(long ts)
MessageViewsetPreSerializeTs in interface MessageViewts - The timestamp to set.public final long getPreSerializeTs()
MessageViewThis timestamp, in microseconds, specifies the time just before a message was serialized for transport.
getPreSerializeTs in interface MessageViewpublic final MessageView setPostSerializeTs(long ts)
MessageViewsetPostSerializeTs in interface MessageViewts - The timestamp to set.public final long getPostSerializeTs()
MessageViewThis timestamp, in microseconds, specifies the time just after a message was serialized for transport.
getPostSerializeTs in interface MessageViewpublic final MessageView setPreWireTs(long ts)
MessageViewThis timestamp, in microseconds, specifies the time just before a message was sent on the network (the accuracy of this depends on how close to the wire the SMA binding used can timestamp the message)
setPreWireTs in interface MessageViewts - The timestamp to set.public final long getPreWireTs()
MessageViewThis timestamp, in microseconds, specifies the time just before a message was sent on the network (the accuracy of this depends on how close to the wire the SMA binding used can timestamp the message).
The returned timestamp is in microseconds.
getPreWireTs in interface MessageViewpublic final RawMessageViewImpl setPostWireSendTs(long ts)
MessageViewsetPostWireSendTs in interface MessageViewts - The timestamp to set.public final long getPostWireSendTs()
MessageView
This timestamp, in microseconds, specifies the time just
after the bus provider specific network send call returns.
Comparing this timestamp to MessageView.getPreWireTs() determines
the time spent in the bus provider's send call.
getPostWireSendTs in interface MessageViewpublic final MessageView setPostWireTs(long ts)
MessageViewsetPostWireTs in interface MessageViewts - The timestamp to set.public final long getPostWireTs()
MessageViewThis timestamp, in microseconds, specifies the time just after a message was received from the network (the accuracy of this depends on how close to the wire the SMA binding used can timestamp the message)
getPostWireTs in interface MessageViewpublic final MessageView setPreDeserializeTs(long ts)
MessageViewsetPreDeserializeTs in interface MessageViewts - The timestamp to set.public final long getPreDeserializeTs()
MessageViewThis timestamp, in microseconds, specifies the time just before a message was de-serialized after transport.
getPreDeserializeTs in interface MessageViewpublic final MessageView setPostDeserializeTs(long ts)
MessageViewsetPostDeserializeTs in interface MessageViewts - The timestamp to set.public final long getPostDeserializeTs()
MessageViewThis timestamp, in microseconds, specifies the time just after a message was de-serialized after transport.
getPostDeserializeTs in interface MessageViewpublic long getEnqueueTs()
MessageViewgetEnqueueTs in interface MessageViewMessageView.getEnqueueTsMicros()public MessageView setEnqueueTsMicros(long ts)
MessageViewThis timestamp, in microseconds, specifies the time just before a message was enqueued on an application's input queue.
setEnqueueTsMicros in interface MessageViewts - the enqueue timestamp in microseconds.public long getEnqueueTsMicros()
MessageViewThis timestamp, in microseconds, specifies the time just before a message was enqueued on an application's input queue.
This timestamp can be compared with MessageView.getPreProcessingTsMicros()
to determine the amount of time that the message spent on an
application's input queue unless the application is configured to
use Event Sourcing and the message is one re-enqueued during recovery
from a transaction or received by a backup instance via replication.
getEnqueueTsMicros in interface MessageViewpublic final MessageView setReceiveTs(long ts)
MessageViewsetReceiveTs in interface MessageViewts - The timestamp to set.public final long getReceiveTs()
MessageViewThis timestamp, in microseconds, specifies the time just before a message was received by X's application dispatch machinery. It is the same as the pre-processing timestamp if the message is not being redelivered to the application by the in-process X runtime.
getReceiveTs in interface MessageView@Deprecated public final MessageView setPreProcessingTs(long ts)
MessageViewsetPreProcessingTs in interface MessageViewts - The timestamp to set.public final long getPreProcessingTs()
MessageView
This timestamp is the same as MessageView.getPreProcessingTsMicros() / 1000.
getPreProcessingTs in interface MessageViewMessageView.getPreProcessingTsMicros()public final MessageView setPreProcessingTsMicros(long ts)
MessageView
It is expected that this field will be set via a value obtained from
UtlTime#nowSinceEpoch()
setPreProcessingTsMicros in interface MessageViewts - The timestamp to set.UtlTime.nowSinceEpoch()public final long getPreProcessingTsMicros()
MessageViewThis timestamp records the time just before a message was dispatched to the application for processing.
Because the pre-processing timestamp is used to provide HA consistent time for an application that is using Event Sourcing as an HaPolicy, this value is guaranteed to be set to the same value as used on the primary instance. A backup instance or a primary recovering from a transaciton log will see the original preProcessingTs value.
getPreProcessingTsMicros in interface MessageView@Deprecated public final MessageView setPostProcessingTs(long ts)
MessageViewsetPostProcessingTs in interface MessageViewts - The timestamp to set.@Deprecated public final long getPostProcessingTs()
MessageViewThis timestamp, in milliseconds, specifies the time just after a message processing handler completes.
getPostProcessingTs in interface MessageViewpublic final MessageView setPostProcessingTsMicros(long ts)
MessageViewsetPostProcessingTsMicros in interface MessageViewts - The timestamp to set.public final long getPostProcessingTsMicros()
MessageViewThis timestamp, in microseconds, specifies the time just after a message processing handler completes.
getPostProcessingTsMicros in interface MessageViewpublic final void sync()
MessageView.sync()sync in interface MessageViewpublic final byte[] serializeToByteArray()
MessageView.serializeToByteArray()serializeToByteArray in interface MessageViewpublic final ByteBuffer serializeToByteBuffer()
MessageView.serializeToByteBuffer()serializeToByteBuffer in interface MessageViewpublic final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageViewImplMessageView.serializeToIOBuffer(boolean)serializeToIOBuffer in interface MessageViewserializeToIOBuffer in class MessageViewImpluseNative - Whether the returned buffer should be native.public final RawMessageViewImpl copy()
CopyableMessageViewThe copy has the following characteristics:
Timestamps Timestamp fields that must be included in the copy:
Additionally, theMessageView.getCreateTs() for the message copy
will be the time of this copy().copy in interface CopyableMessageView<RawMessageViewImpl>public final PktPacket serializeToPacket()
MessageView.serializeToPacket()serializeToPacket in interface MessageViewpublic final String serializeToJson()
MessageView.serializeToJson()serializeToJson in interface MessageViewpublic final RawMessageViewImpl deserializeFromByteArray(byte[] array)
MessageView.deserializeFromByteArray(byte[])deserializeFromByteArray in interface MessageViewarray - The array containing the serialized messagepublic final RawMessageViewImpl deserializeFromByteBuffer(ByteBuffer buffer)
MessageView.deserializeFromByteBuffer(java.nio.ByteBuffer)deserializeFromByteBuffer in interface MessageViewbuffer - The buffer containing the serialized messagepublic final RawMessageViewImpl deserializeFromPacket(PktPacket packet)
MessageView.deserializeFromPacket(com.neeve.pkt.PktPacket)deserializeFromPacket in interface MessageViewpacket - The packet containing the serialized messagepublic final RawMessageViewImpl deserializeFromJson(String json)
MessageView.deserializeFromJson(java.lang.String)deserializeFromJson in interface MessageViewjson - The string containing the json serialized form of the messageCopyright © 2019 Neeve Research, LLC. All Rights Reserved.