Interface NetworkProtocolEvent
-
- All Superinterfaces:
Event,ProtocolEvent
- All Known Subinterfaces:
HttpNetworkProtocolRequestEvent,HttpNetworkProtocolResponseEvent,NetworkProtocolRequestEvent,NetworkProtocolResponseEvent
- All Known Implementing Classes:
AbstractNetworkProtocolRequestEvent,AbstractNetworkProtocolResponseEvent,HttpServletNetworkRequestEvent,HttpServletNetworkResponseEvent
public interface NetworkProtocolEvent extends ProtocolEvent
An event issued to the event bus on a network-level call. The network event here is driven by anything that may communicate through sockets using a transport-layer protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNetworkProtocolEvent.NetworkTypeThe underlying network protocol used-
Nested classes/interfaces inherited from interface software.amazon.disco.agent.event.ProtocolEvent
ProtocolEvent.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkProtocolEvent.NetworkTypegetNetworkType()Get the network type of this ProtocolNetworkEvent-
Methods inherited from interface software.amazon.disco.agent.event.ProtocolEvent
getHeaderData, getType
-
-
-
-
Method Detail
-
getNetworkType
NetworkProtocolEvent.NetworkType getNetworkType()
Get the network type of this ProtocolNetworkEvent- Returns:
- return either TCP or UDP.
-
-