Interface | Description |
---|---|
AuthenticationPlugin |
Plugin that must evaluate whether a WebSocket connection shall be allowed, and then authenticate the resulting
MatsSocketSession.
|
AuthenticationPlugin.AuthenticationContext | |
AuthenticationPlugin.AuthenticationResult |
You are NOT supposed to implement this interface! Instances of this interface are created by methods on the
AuthenticationPlugin.AuthenticationContext , which you are supposed to return from the AuthenticationPlugin.SessionAuthenticator to inform
the MatsSocketServer about your verdict of the authentication attempt. |
AuthenticationPlugin.SessionAuthenticator |
An instance of this interface shall be returned upon invocation of
AuthenticationPlugin.newSessionAuthenticator() . |
ClusterStoreAndForward |
MatsSockets forwards requests from WebSocket-connected clients to a Mats Endpoint, and must get the reply back to the
client.
|
ClusterStoreAndForward.CurrentNode | |
ClusterStoreAndForward.RequestCorrelation | |
ClusterStoreAndForward.StoredInMessage | |
ClusterStoreAndForward.StoredOutMessage | |
MatsSocketServer |
The MatsSocket Java library, along with its several clients libraries, is a WebSocket-"extension" of the Mats library
(there are currently clients for JavaScript (web and Node.js) and Dart (Dart and Flutter)).
|
MatsSocketServer.ActiveMatsSocketSession |
Represents an active node-local MatsSocketSession - i.e.
|
MatsSocketServer.IncomingAuthorizationAndAdapter<I,MR,R> |
Should handle Authorization evaluation on the supplied
Principal and decide whether this message should be forwarded to the Mats fabric (or directly resolved, rejected
or denied). |
MatsSocketServer.LiveMatsSocketSession |
A live representation of a MatsSocketSession.
|
MatsSocketServer.MatsSocketEndpoint<I,MR,R> |
Representation of a MatsSocketEndpoint.
|
MatsSocketServer.MatsSocketEndpointContext<I,MR,R> | |
MatsSocketServer.MatsSocketEndpointIncomingContext<I,MR,R> |
The context which the
MatsSocketServer.IncomingAuthorizationAndAdapter gets to work with when handling an incoming
MatsSocket message. |
MatsSocketServer.MatsSocketEndpointReplyContext<I,MR,R> | |
MatsSocketServer.MatsSocketSession |
A MatsSocketSession, either as represented in the
data store when gotten via
MatsSocketServer.getMatsSocketSessions(boolean, String, String, String) (returning MatsSocketSessionDto ), or an ActiveMatsSocketSession representing an active
MatsSocketSession connected to this node of the MatsSocketServer instance when gotten via
MatsSocketServer.getActiveMatsSocketSessions() (returning ActiveMatsSocketSessionDto ),
or a LiveMatsSocketSession which is an interface view over the actual live session
in the MatsSocketServer when gotten via MatsSocketServer.getLiveMatsSocketSessions() . |
MatsSocketServer.MessageEvent | |
MatsSocketServer.MessageEventListener | |
MatsSocketServer.ReplyAdapter<I,MR,R> |
Used to transform the reply message from the Mats endpoint to the reply for the MatsSocket endpoint, and decide
whether to resolve or reject the waiting Client-side Promise (i.e.
|
MatsSocketServer.SessionEstablishedEvent | |
MatsSocketServer.SessionEstablishedEventListener | |
MatsSocketServer.SessionRemovedEvent | |
MatsSocketServer.SessionRemovedEventListener |
Class | Description |
---|---|
ClusterStoreAndForward.SimpleCurrentNode | |
ClusterStoreAndForward.SimpleRequestCorrelation | |
ClusterStoreAndForward.SimpleStoredInMessage | |
ClusterStoreAndForward.SimpleStoredOutMessage | |
MatsSocketServer.ActiveMatsSocketSessionDto |
Implementation of
MatsSocketServer.ActiveMatsSocketSession , which is serializable both for MatsSocket and Mats, i.e. |
MatsSocketServer.MatsSocketEnvelopeDto |
This is the entire "Wire transport" DTO of MatsSocket.
|
MatsSocketServer.MatsSocketEnvelopeDto.DebugDto | |
MatsSocketServer.MatsSocketEnvelopeDto.LogLineDto | |
MatsSocketServer.MatsSocketEnvelopeWithMetaDto |
Extension of
MatsSocketServer.MatsSocketEnvelopeDto which carries some metadata about the processing of the Envelope. |
MatsSocketServer.MatsSocketSessionDto |
Implementation of
MatsSocketServer.MatsSocketSession , which is serializable both for MatsSocket and Mats, i.e. |
Enum | Description |
---|---|
AuthenticationPlugin.DebugOption |
These bit-field enums (bit-field) is used by the Client to request different types of debug/meta information from
Server-side, and used by the
AuthenticationPlugin to tell the MatsSocketServer which types of
information the specific user is allowed to request - the resulting debug/meta information provided is the
intersection of the requested + allowed. |
MatsSocketServer.ActiveMatsSocketSession.MatsSocketSessionState |
The state of ActiveMatsSocketSession.
|
MatsSocketServer.MatsSocketCloseCodes |
WebSocket CloseCodes used in MatsSocket, and for what.
|
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.
|
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.MessageType |
All Message Types (aka MatsSocket Envelope Types) used in the wire-protocol of MatsSocket.
|
MatsSocketServer.SessionEstablishedEvent.SessionEstablishedEventType | |
MatsSocketServer.SessionRemovedEvent.SessionRemovedEventType |
Type of "remove": Either DEREGISTER, CLOSE or TIMEOUT.
|
Exception | Description |
---|---|
ClusterStoreAndForward.DataAccessException |
If having problems accessing the underlying common data store.
|
ClusterStoreAndForward.MessageIdAlreadyExistsException |
Thrown if the operation resulted in a Unique Constraint situation.
|
ClusterStoreAndForward.WrongUserException |
Thrown from
ClusterStoreAndForward.registerSessionAtThisNode(String, String, String, String, String, String) if the userId does
not match the original userId that created this session. |
MatsSocketServer.DataStoreException |
RuntimeException raised from methods which directly interfaces with the
ClusterStoreAndForward and which
cannot "hide" the situation if the data store doesn't work. |