public final class ProtocolLayerInfo
extends java.lang.Object
implements java.io.Serializable
ProtocolLayerInfo - protocol layer info.| Modifier and Type | Field and Description |
|---|---|
long |
readBytes
number of read (received) bytes.
|
long |
readPackets
number of read (received) packets.
|
long |
timestamp
timestamp.
|
long |
transportReadBytes
number of bytes read (received) from transport layer
(>= readBytes, may include additional traffic that wraps protocol bytes).
|
long |
transportWrittenBytes
number of bytes written (sent) to the transport layer
(>= writtenBytes, may include additional traffic that wraps protocol bytes).
|
long |
writtenBytes
number of written (sent) bytes.
|
long |
writtenPackets
number of written (sent) packets.
|
| Constructor and Description |
|---|
ProtocolLayerInfo()
Constructor.
|
ProtocolLayerInfo(long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets)
Constructor.
|
ProtocolLayerInfo(long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets,
long transportReadBytes,
long transportWrittenBytes)
Constructor.
|
ProtocolLayerInfo(long timestamp,
long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets,
long transportReadBytes,
long transportWrittenBytes)
Constructor.
|
ProtocolLayerInfo(ProtocolLayerInfo info)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public long timestamp
public long readBytes
public long writtenBytes
public long readPackets
public long writtenPackets
public long transportReadBytes
public long transportWrittenBytes
public ProtocolLayerInfo(ProtocolLayerInfo info)
info - protocol layer infopublic ProtocolLayerInfo(long timestamp,
long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets,
long transportReadBytes,
long transportWrittenBytes)
timestamp - timestampreadBytes - read (received) protocol byteswrittenBytes - written (sent) protocol bytesreadPackets - read (received) protocol packetswrittenPackets - written (sent) protocol packetstransportReadBytes - read (received) transport bytes (>= readBytes, may include HTTP content if tunnelling)transportWrittenBytes - written (sent) transport bytes (>= writtenBytes, may include HTTP content if tunnelling)public ProtocolLayerInfo(long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets,
long transportReadBytes,
long transportWrittenBytes)
readBytes - read protocol byteswrittenBytes - written protocol bytesreadPackets - read protocol packetswrittenPackets - written protocol packetstransportReadBytes - read transport bytes (>= readBytes, may include HTTP content if tunnelling)transportWrittenBytes - written transport bytes (>= writtenBytes, may include HTTP content if tunnelling)public ProtocolLayerInfo(long readBytes,
long writtenBytes,
long readPackets,
long writtenPackets)
readBytes - read protocol byteswrittenBytes - written protocol bytesreadPackets - read protocol packetswrittenPackets - written protocol packetspublic ProtocolLayerInfo()