Package io.github.cfraser.graphguard
Class Server.Proxied
-
- All Implemented Interfaces:
-
io.github.cfraser.graphguard.Server.Event
public final class Server.Proxied 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 SocketAddresssourceprivate final Bolt.Messagereceivedprivate final SocketAddressdestinationprivate final Bolt.Messagesent
-
Constructor Summary
Constructors Constructor Description Server.Proxied(SocketAddress source, Bolt.Message received, SocketAddress destination, Bolt.Message sent)
-
Method Summary
Modifier and Type Method Description final SocketAddressgetSource()the SocketAddress that sent the received final Bolt.MessagegetReceived()the Bolt.Message received from the source final SocketAddressgetDestination()the SocketAddress that received the sent final Bolt.MessagegetSent()the Bolt.Message sent to the destination -
-
Constructor Detail
-
Server.Proxied
Server.Proxied(SocketAddress source, Bolt.Message received, SocketAddress destination, Bolt.Message sent)
-
-
Method Detail
-
getSource
final SocketAddress getSource()
the SocketAddress that sent the received
-
getReceived
final Bolt.Message getReceived()
the Bolt.Message received from the source
-
getDestination
final SocketAddress getDestination()
the SocketAddress that received the sent
-
getSent
final Bolt.Message getSent()
the Bolt.Message sent to the destination
-
-
-
-