public class ProtocolStatInfo
extends java.lang.Object
Constructor and Description |
---|
ProtocolStatInfo()
Constructor for default ProtocolStatInfo class.
|
ProtocolStatInfo(java.lang.String name,
java.lang.String breed,
long packets,
long bytes,
int flows)
Constructor for ProtocolStatInfo class specified with protocol statistic parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
breed()
Returns DPI protocol breed.
|
long |
bytes()
Returns DPI protocol bytes.
|
int |
flows()
Returns DPI protocol flows.
|
java.lang.String |
name()
Returns DPI protocol name.
|
long |
packets()
Returns DPI protocol packets.
|
void |
setBreed(java.lang.String breed) |
void |
setBytes(long bytes) |
void |
setFlows(int flows) |
void |
setName(java.lang.String name) |
void |
setPackets(long packets) |
java.lang.String |
toString() |
public ProtocolStatInfo()
public ProtocolStatInfo(java.lang.String name, java.lang.String breed, long packets, long bytes, int flows)
name
- protocol namebreed
- protocol breedpackets
- protocol packetsbytes
- protocol bytesflows
- protocol flowspublic java.lang.String name()
public java.lang.String breed()
public long packets()
public long bytes()
public int flows()
public void setName(java.lang.String name)
public void setBreed(java.lang.String breed)
public void setPackets(long packets)
public void setBytes(long bytes)
public void setFlows(int flows)
public java.lang.String toString()
toString
in class java.lang.Object