JML

net.sf.jml
Interface MsnConnection

All Known Implementing Classes:
MsnConnectionImpl

public interface MsnConnection

Msn connection information.

Author:
Roger Chen

Method Summary
 MsnConnectionType getConnectionType()
          Get connection type, if don't known, return null.
 String getExternalIP()
          Get ip external.
 int getExternalPort()
          Get port external.
 String getInternalIP()
          Get ip internal.
 int getInternalPort()
          Get port internal.
 String getRemoteIP()
          Get the remote ip.
 int getRemotePort()
          Get remote port.
 

Method Detail

getRemoteIP

String getRemoteIP()
Get the remote ip.

Returns:
remote ip

getRemotePort

int getRemotePort()
Get remote port.

Returns:
remote port

getInternalIP

String getInternalIP()
Get ip internal.

Returns:
ip internal

getInternalPort

int getInternalPort()
Get port internal.

Returns:
port internal

getExternalIP

String getExternalIP()
Get ip external. If don't known, return null.

Returns:
ip external

getExternalPort

int getExternalPort()
Get port external. If don't known, return -1.

Returns:
port external

getConnectionType

MsnConnectionType getConnectionType()
Get connection type, if don't known, return null.

Returns:
connection type

JML