Package io.mats3.matssocket
Class MatsSocketServer.MatsSocketEnvelopeWithMetaDto
java.lang.Object
io.mats3.matssocket.MatsSocketServer.MatsSocketEnvelopeDto
io.mats3.matssocket.MatsSocketServer.MatsSocketEnvelopeWithMetaDto
- All Implemented Interfaces:
Cloneable
- Enclosing interface:
- MatsSocketServer
public static class MatsSocketServer.MatsSocketEnvelopeWithMetaDto
extends MatsSocketServer.MatsSocketEnvelopeDto
implements Cloneable
Extension of
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.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Only used for when the MatsSocketEnvelopeDto is exposed via the MatsSocket API - contains "meta-meta" about the processing of the envelopestatic enum
Only used for when the MatsSocketEnvelopeDto is exposed via the MatsSocket API - contains "meta-meta" about the processing of the envelopeNested classes/interfaces inherited from class io.mats3.matssocket.MatsSocketServer.MatsSocketEnvelopeDto
MatsSocketServer.MatsSocketEnvelopeDto.DebugDto, MatsSocketServer.MatsSocketEnvelopeDto.LogLineDto
-
Field Summary
Modifier and TypeFieldDescriptionlong
-
Constructor Summary
-
Method Summary
Methods inherited from class io.mats3.matssocket.MatsSocketServer.MatsSocketEnvelopeDto
clone, toString
-
Field Details
-
dir
-
ts
public long ts -
nn
-
icts
-
icnanos
-
rttm
-
ir
-
fmeid
-
rm
-
ints
-
innn
-
-
Constructor Details
-
MatsSocketEnvelopeWithMetaDto
public MatsSocketEnvelopeWithMetaDto()
-