|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionPacket
A packet carrying information related to a specific connection. The connection is represented as a couple (domain, id). Two different connections have different domain or IDs. Recorders having the notion of connection (and which handle more than one connection at a time) should produce packets that extend this interface.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.IRecorderPacket |
---|
getEndTimestamp, getPacketType, getPacketVersion, getRecorderId, getSize, getStartTimestamp |
Field Detail |
---|
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.
Method Detail |
---|
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.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |