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 long
private final String
private InetAddress
private final String
private final CopyOnWriteList<InetAddress>
private int
private final int
private int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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 Summary
Modifier and TypeMethodDescriptionprotected static ClientOtherInstanceImpl
decode
(InetAddress internal_address, Map map) protected long
getID()
int
int
int
protected boolean
update
(ClientOtherInstanceImpl new_inst) Methods inherited from class com.biglybt.core.instancemanager.impl.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()
-