|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOpenConnectionPacket
A packet indicating that a connection was opened.
Field Summary | |
---|---|
static int |
DIRECT_CONNECTION
Designates a direct connection. |
Fields inherited from interface com.ibm.rational.test.lt.recorder.core.packet.connection.IConnectionPacket |
---|
DEFAULT_DOMAIN, ID, NO_CONNECTION |
Method Summary | |
---|---|
int |
getConnectionTypeId()
If the connection was opened through a specific mean (e.g. a proxy), returns the ID of the connection type that was used to open the connection. |
String |
getLocalHost()
Returns the local host, either in the form of a host name, or as an IP (v4 or V6) address. |
int |
getLocalPort()
Returns the local port. |
String |
getRemoteHost()
Returns the remote host, either in the form of a host name, or as IP (v4 or v6) address. |
int |
getRemotePort()
Returns the remote port. |
boolean |
isIncoming()
Whether the connection was initiated by the client ( false , or received
as an incoming connection to the client (true ). |
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.connection.IConnectionPacket |
---|
getConnectionId, getDomainId |
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.IRecorderPacket |
---|
getEndTimestamp, getPacketType, getPacketVersion, getRecorderId, getSize, getStartTimestamp |
Field Detail |
---|
static final int DIRECT_CONNECTION
IOpenConnectionPacket.getConnectionTypeId()
.
Method Detail |
---|
String getRemoteHost()
int getRemotePort()
String getLocalHost()
int getLocalPort()
boolean isIncoming()
false
, or received
as an incoming connection to the client (true
).
int getConnectionTypeId()
IOpenConnectionPacket.DIRECT_CONNECTION
if the connection is direct.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |