AZInstanceImplpublic abstract class AZInstanceImpl extends Object implements com.aelitis.azureus.core.instancemanager.AZInstance
Constructors Summary |
---|
protected AZInstanceImpl()
|
Methods Summary |
---|
protected void | encode(java.util.Map map)
map.put( "id", getID().getBytes());
map.put( "iip", getInternalAddress().getHostAddress().getBytes());
map.put( "eip", getExternalAddress().getHostAddress().getBytes());
map.put( "tp", new Long( getTCPListenPort()));
map.put( "dp", new Long( getUDPListenPort()));
map.put( "dp2", new Long( getUDPNonDataListenPort()));
| public java.lang.String | getString()
String id = getID();
if ( id.length() > 8 ){
id = id.substring(0,8) + "...";
}
return( "id=" + id + ",int=" + getInternalAddress().getHostAddress() + ",ext=" +
getExternalAddress().getHostAddress() + ",tcp=" + getTCPListenPort() + ",udp=" + getUDPListenPort() +
",udp2=" + getUDPNonDataListenPort());
|
|