public class FlowStatInfo extends Object
Constructor and Description |
---|
FlowStatInfo()
Constructor for default FlowStatInfo class.
|
FlowStatInfo(String protocol,
String hostAName,
int hostAPort,
String hostBName,
int hostBPort,
int detectedProtocol,
String detectedProtocolName,
long packets,
long bytes)
Constructor for FlowStatInfo class specified with flow statistic parameters.
|
FlowStatInfo(String protocol,
String hostAName,
int hostAPort,
String hostBName,
int hostBPort,
int detectedProtocol,
String detectedProtocolName,
long packets,
long bytes,
String hostServerName)
Constructor for FlowStatInfo class specified with flow statistic parameters and hostServerName.
|
Modifier and Type | Method and Description |
---|---|
long |
bytes()
Returns DPI flow bytes.
|
int |
detectedProtocol()
Returns DPI flow detected protocol.
|
String |
detectedProtocolName()
Returns DPI flow detected protocol name.
|
String |
hostAName()
Returns DPI flow host A name.
|
int |
hostAPort()
Returns DPI flow host A port.
|
String |
hostBName()
Returns DPI flow host B name.
|
int |
hostBPort()
Returns DPI flow host B Port.
|
String |
hostServerName()
Returns DPI flow host server name.
|
long |
packets()
Returns DPI flow packets.
|
String |
protocol()
Returns DPI flow protocol.
|
void |
setBytes(long bytes) |
void |
setDetectedProtocol(int detectedProtocol) |
void |
setDetectedProtocolName(String detectedProtocolName) |
void |
setHostAName(String hostAName) |
void |
setHostAPort(int hostAPort) |
void |
setHostBName(String hostBName) |
void |
setHostBPort(int hostBPort) |
void |
setHostServerName(String hostServerName) |
void |
setPackets(long packets) |
void |
setProtocol(String protocol) |
String |
toString() |
public FlowStatInfo()
public FlowStatInfo(String protocol, String hostAName, int hostAPort, String hostBName, int hostBPort, int detectedProtocol, String detectedProtocolName, long packets, long bytes)
protocol
- protocolhostAName
- host A namehostAPort
- host A porthostBName
- host B namehostBPort
- host B portdetectedProtocol
- detected protocoldetectedProtocolName
- detected protocol namepackets
- packet countbytes
- byte countpublic FlowStatInfo(String protocol, String hostAName, int hostAPort, String hostBName, int hostBPort, int detectedProtocol, String detectedProtocolName, long packets, long bytes, String hostServerName)
protocol
- protocolhostAName
- host A namehostAPort
- host A porthostBName
- host B namehostBPort
- host B portdetectedProtocol
- detected protocoldetectedProtocolName
- detected protocol namepackets
- packet countbytes
- byte counthostServerName
- host server namepublic String protocol()
public String hostAName()
public int hostAPort()
public String hostBName()
public int hostBPort()
public int detectedProtocol()
public String detectedProtocolName()
public long packets()
public long bytes()
public String hostServerName()
public void setProtocol(String protocol)
public void setHostAName(String hostAName)
public void setHostAPort(int hostAPort)
public void setHostBName(String hostBName)
public void setHostBPort(int hostBPort)
public void setDetectedProtocol(int detectedProtocol)
public void setDetectedProtocolName(String detectedProtocolName)
public void setPackets(long packets)
public void setBytes(long bytes)
public void setHostServerName(String hostServerName)