com.aelitis.azureus.core.pairing.impl
Class PairingManagerImpl.PairedServiceImpl

java.lang.Object
  extended by com.aelitis.azureus.core.pairing.impl.PairingManagerImpl.PairedServiceImpl
All Implemented Interfaces:
PairedService, PairingConnectionData
Enclosing class:
PairingManagerImpl

protected class PairingManagerImpl.PairedServiceImpl
extends Object
implements PairedService, PairingConnectionData


Field Summary
 
Fields inherited from interface com.aelitis.azureus.core.pairing.PairingConnectionData
ATTR_HOST, ATTR_I2P, ATTR_IP_V4, ATTR_IP_V6, ATTR_PORT, ATTR_PORT_OVERRIDE, ATTR_PROTOCOL, ATTR_TOR
 
Constructor Summary
protected PairingManagerImpl.PairedServiceImpl(String _sid, PairedServiceRequestHandler _request_handler)
           
 
Method Summary
 String getAttribute(String name)
           
 PairingConnectionData getConnectionData()
           
protected  PairedServiceRequestHandler getHandler()
           
 String getSID()
           
 void remove()
           
 void setAttribute(String name, String value)
           
protected  void setHandler(PairedServiceRequestHandler _h)
           
 void sync()
           
protected  Map<String,String> toMap(boolean enable_nets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairingManagerImpl.PairedServiceImpl

protected PairingManagerImpl.PairedServiceImpl(String _sid,
                                               PairedServiceRequestHandler _request_handler)
Method Detail

getSID

public String getSID()
Specified by:
getSID in interface PairedService

setHandler

protected void setHandler(PairedServiceRequestHandler _h)

getHandler

protected PairedServiceRequestHandler getHandler()

getConnectionData

public PairingConnectionData getConnectionData()
Specified by:
getConnectionData in interface PairedService

remove

public void remove()
Specified by:
remove in interface PairedService

setAttribute

public void setAttribute(String name,
                         String value)
Specified by:
setAttribute in interface PairingConnectionData

getAttribute

public String getAttribute(String name)
Specified by:
getAttribute in interface PairingConnectionData

sync

public void sync()
Specified by:
sync in interface PairingConnectionData

toMap

protected Map<String,String> toMap(boolean enable_nets)