Package io.mats3.matssocket
Interface MatsSocketServer.MessageEvent
- Enclosing interface:
- MatsSocketServer
public static interface MatsSocketServer.MessageEvent
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getMatsSocketSession
MatsSocketServer.LiveMatsSocketSession getMatsSocketSession()- Returns:
- which
MatsSocketServer.LiveMatsSocketSession
that this list of envelopes concerns.
-
getEnvelopes
List<MatsSocketServer.MatsSocketEnvelopeWithMetaDto> getEnvelopes()- Returns:
- the list of envelopes that was processed "in one go". Often corresponds to a MatsSocket "pipeline", but this doesn't quite hold when the pipeline contains "control messages" (like HELLO and WELCOME, ACK, ACK2 etc), as these are internally processed one-by-one.
-