public abstract class AbstractNetworkProtocolRequestEvent extends AbstractProtocolRequestEvent implements NetworkProtocolRequestEvent
NetworkProtocolEvent.NetworkTypeProtocolEvent.Typedata, origin| Constructor and Description |
|---|
AbstractNetworkProtocolRequestEvent(java.lang.String origin,
int srcPort,
int dstPort,
java.lang.String srcIP,
java.lang.String dstIP) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDestinationIP()
Get the destination IP address.
|
int |
getDestinationPort()
Get the socket-level destination port; the port that the receiving end is using to retrieve data;.
|
java.lang.String |
getSourceIP()
Get the source IP address.
|
int |
getSourcePort()
Get the socket-level source port; the port that the caller used to send data.
|
ProtocolEvent.Type |
getType()
Get the type of this ProtocolRequestEvent
|
getDestinationAddress, getRequest, getSourceAddress, withRequestgetHeaderData, getHeaderMap, withHeaderData, withHeaderMapgetData, getOrigin, withDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNetworkTypegetDestinationAddress, getRequest, getSourceAddressgetHeaderDatapublic AbstractNetworkProtocolRequestEvent(java.lang.String origin,
int srcPort,
int dstPort,
java.lang.String srcIP,
java.lang.String dstIP)
public int getSourcePort()
getSourcePort in interface NetworkProtocolRequestEventpublic int getDestinationPort()
getDestinationPort in interface NetworkProtocolRequestEventpublic java.lang.String getSourceIP()
getSourceIP in interface NetworkProtocolRequestEventpublic java.lang.String getDestinationIP()
getDestinationIP in interface NetworkProtocolRequestEventpublic ProtocolEvent.Type getType()
getType in interface ProtocolEvent