Class ClientOtherInstanceImpl
java.lang.Object
com.biglybt.core.instancemanager.impl.ClientInstanceImpl
com.biglybt.core.instancemanager.impl.ClientOtherInstanceImpl
- All Implemented Interfaces:
ClientInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate final Stringprivate InetAddressprivate final Stringprivate final CopyOnWriteList<InetAddress> private intprivate final intprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClientOtherInstanceImpl(String _id, String _app_id, List<InetAddress> _internal_addresses, InetAddress _external_address, int _tcp_port, int _udp_port, int _udp_non_data_port, Map<String, Object> _props) -
Method Summary
Modifier and TypeMethodDescriptionprotected static ClientOtherInstanceImpldecode(InetAddress internal_address, Map map) protected longgetID()intintintprotected booleanupdate(ClientOtherInstanceImpl new_inst) Methods inherited from class ClientInstanceImpl
encode, getString
-
Field Details
-
id
-
app_id
-
internal_addresses
-
external_address
-
tcp_port
private int tcp_port -
udp_port
private int udp_port -
udp_non_data_port
private final int udp_non_data_port -
props
-
alive_time
private long alive_time
-
-
Constructor Details
-
ClientOtherInstanceImpl
protected ClientOtherInstanceImpl(String _id, String _app_id, List<InetAddress> _internal_addresses, InetAddress _external_address, int _tcp_port, int _udp_port, int _udp_non_data_port, Map<String, Object> _props)
-
-
Method Details
-
decode
-
update
-
getID
-
getApplicationID
-
getInternalAddress
-
getInternalAddresses
-
getExternalAddress
-
getTCPListenPort
public int getTCPListenPort() -
getUDPListenPort
public int getUDPListenPort() -
getUDPNonDataListenPort
public int getUDPNonDataListenPort() -
getProperties
-
getAliveTime
protected long getAliveTime()
-