public interface IOpenConnectionPacket extends IConnectionPacket
Modifier and Type | Field and Description |
---|---|
static int |
DIRECT_CONNECTION
Designates a direct connection.
|
DEFAULT_DOMAIN, ID, NO_CONNECTION
Modifier and Type | Method and Description |
---|---|
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 ). |
getConnectionId, getDomainId
getEndTimestamp, getPacketType, getPacketVersion, getRecorderId, getSize, getStartTimestamp
static final int DIRECT_CONNECTION
IOpenConnectionPacket.getConnectionTypeId()
.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.© Copyright IBM Corp. 2013. All rights reserved.