Package io.github.cfraser.graphguard
Class Server.Proxied
-
- All Implemented Interfaces:
-
io.github.cfraser.graphguard.Server.Event
@JvmRecord() public final class Server.Proxied extends Record implements Server.Event
The Server proxied the intercepted Bolt.Message from the source to the destination.
-
-
Field Summary
Fields Modifier and Type Field Description private final Bolt.Sessionsessionprivate final Server.Connectionsourceprivate final Bolt.Messagereceivedprivate final Server.Connectiondestinationprivate final Bolt.Messagesent
-
Constructor Summary
Constructors Constructor Description Server.Proxied(Bolt.Session session, Server.Connection source, Bolt.Message received, Server.Connection destination, Bolt.Message sent)
-
Method Summary
Modifier and Type Method Description final Bolt.SessiongetSession()the Bolt.Session final Server.ConnectiongetSource()the Connection that sent the received final Bolt.MessagegetReceived()the Bolt.Message received from the source final Server.ConnectiongetDestination()the Connection that received the sent final Bolt.MessagegetSent()the Bolt.Message sent to the destination -
-
Constructor Detail
-
Server.Proxied
Server.Proxied(Bolt.Session session, Server.Connection source, Bolt.Message received, Server.Connection destination, Bolt.Message sent)
-
-
Method Detail
-
getSession
final Bolt.Session getSession()
the Bolt.Session
-
getSource
final Server.Connection getSource()
the Connection that sent the received
-
getReceived
final Bolt.Message getReceived()
the Bolt.Message received from the source
-
getDestination
final Server.Connection getDestination()
the Connection that received the sent
-
getSent
final Bolt.Message getSent()
the Bolt.Message sent to the destination
-
-
-
-