public interface IConnectionPacket extends IRecorderPacket
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DOMAIN
The domain ID for packets captured by a recorder which does not support the domain
notion.
|
static String |
ID |
static long |
NO_CONNECTION
The return value of
IConnectionPacket.getConnectionId() when the packet is not associated
to a connection. |
Modifier and Type | Method and Description |
---|---|
long |
getConnectionId()
Returns the ID of the connection that this packet was captured on.
|
int |
getDomainId()
Returns the domain ID that this packet was captured on.
|
getEndTimestamp, getPacketType, getPacketVersion, getRecorderId, getSize, getStartTimestamp
static final String ID
static final int DEFAULT_DOMAIN
static final long NO_CONNECTION
IConnectionPacket.getConnectionId()
when the packet is not associated
to a connection. Depending on the semantics of packets, the return value of IConnectionPacket.getDomainId()
may or may not be significant. Packets that have a NO_CONNECTION connection ID are not
considered to belong to any connection and are usually ignored by most converters and
test generators. Returning NO_CONNECTION allows all implementation classes of a specific
packet type to implement IConnectionPacket, even for those few packets that are
not actually bound to a connection.long getConnectionId()
IConnectionPacket.NO_CONNECTION
if this packet is not tied to a specific connection.int getDomainId()
IConnectionPacket.DEFAULT_DOMAIN
if the recorder does not segment its connections across domains.© Copyright IBM Corp. 2013. All rights reserved.