public static class MatsSocketServer.MatsSocketEnvelopeWithMetaDto extends MatsSocketServer.MatsSocketEnvelopeDto implements java.lang.Cloneable
MatsSocketServer.MatsSocketEnvelopeDto
which carries some metadata about the processing of the Envelope. When
MatsSocketEnvelopes are exposed from this API, it is via instances of this class. The class if fully serializable
via field serialization, and can directly be sent over Mats.
Note: When instance of this class is exposed through this API, there will only be a single instance created for
any MatsSocketServer.MessageEventListener
and also the MatsSocketServer.ActiveMatsSocketSession.getLastEnvelopes()
. This means that
you MUST NOT modify any fields on this single instance. However, this class implements Cloneable
(shallow
clone), not throwing on MatsSocketServer.MatsSocketEnvelopeDto.clone()
. If you in a MatsSocketServer.MessageEventListener
want to modify the message,
you should clone it and modify and use the clone.Modifier and Type | Class and Description |
---|---|
static class |
MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction
Only used for when the MatsSocketEnvelopeDto is exposed via the MatsSocket API - contains "meta-meta"
about the processing of the envelope
Which direction the message travelled: Client-to-Server, or Server-to-Client.
|
static class |
MatsSocketServer.MatsSocketEnvelopeWithMetaDto.IncomingResolution
Only used for when the MatsSocketEnvelopeDto is exposed via the MatsSocket API - contains "meta-meta"
about the processing of the envelope
How a Client-to-Server SEND or REQUEST was handled wrt.
|
MatsSocketServer.MatsSocketEnvelopeDto.DebugDto, MatsSocketServer.MatsSocketEnvelopeDto.LogLineDto
Modifier and Type | Field and Description |
---|---|
MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction |
dir |
java.lang.String |
fmeid |
java.lang.Long |
icnanos |
java.lang.Long |
icts |
java.lang.String |
innn |
java.lang.Long |
ints |
MatsSocketServer.MatsSocketEnvelopeWithMetaDto.IncomingResolution |
ir |
java.lang.String |
nn |
java.lang.Double |
rm |
java.lang.Double |
rttm |
long |
ts |
Constructor and Description |
---|
MatsSocketEnvelopeWithMetaDto() |
clone, toString
public MatsSocketServer.MatsSocketEnvelopeWithMetaDto.Direction dir
public long ts
public java.lang.String nn
public java.lang.Long icts
public java.lang.Long icnanos
public java.lang.Double rttm
public java.lang.String fmeid
public java.lang.Double rm
public java.lang.Long ints
public java.lang.String innn