Package com.biglybt.core.pairing.impl
Class PairingManagerImpl.PairedServiceImpl
java.lang.Object
com.biglybt.core.pairing.impl.PairingManagerImpl.PairedServiceImpl
- All Implemented Interfaces:
PairedService
,PairingConnectionData
- Enclosing class:
- PairingManagerImpl
protected class PairingManagerImpl.PairedServiceImpl
extends Object
implements PairedService, PairingConnectionData
-
Field Summary
FieldsFields inherited from interface com.biglybt.core.pairing.PairingConnectionData
ATTR_HOST, ATTR_I2P, ATTR_IP_V4, ATTR_IP_V6, ATTR_PORT, ATTR_PORT_OVERRIDE, ATTR_PROTOCOL, ATTR_TOR
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PairedServiceImpl
(String _sid, PairedServiceRequestHandler _request_handler) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) protected PairedServiceRequestHandler
getSID()
void
remove()
void
setAttribute
(String name, String value) protected void
void
sync()
toMap
(boolean enable_nets)
-
Field Details
-
sid
-
attributes
-
request_handler
-
-
Constructor Details
-
PairedServiceImpl
-
-
Method Details
-
getSID
- Specified by:
getSID
in interfacePairedService
-
setHandler
-
getHandler
-
getConnectionData
- Specified by:
getConnectionData
in interfacePairedService
-
remove
public void remove()- Specified by:
remove
in interfacePairedService
-
setAttribute
- Specified by:
setAttribute
in interfacePairingConnectionData
-
getAttribute
- Specified by:
getAttribute
in interfacePairingConnectionData
-
sync
public void sync()- Specified by:
sync
in interfacePairingConnectionData
-
toMap
-