com.aelitis.azureus.core.pairing
Interface PairingManager

All Known Implementing Classes:
PairingManagerImpl

public interface PairingManager


Field Summary
static String CONFIG_SECTION_ID
           
 
Method Summary
 void addListener(PairingManagerListener l)
           
 PairedService addService(String sid, PairedServiceRequestHandler handler)
           
 String getAccessCode()
           
 String getGroup()
           
 String getLastServerError()
           
 File getQRCode()
           
 String getReplacementAccessCode()
           
 PairedService getService(String sid)
           
 String getSRPStatus()
           
 String getStatus()
           
 boolean handleLocalTunnel(TrackerWebPageRequest request, TrackerWebPageResponse response)
           
 boolean hasActionOutstanding()
           
 boolean isEnabled()
           
 boolean isSRPEnabled()
           
 List<PairedNode> listGroup()
           
 List<PairedService> lookupServices(String access_code)
           
 String peekAccessCode()
           
 void recordRequest(String name, String ip, boolean good)
           
 void removeListener(PairingManagerListener l)
           
 void setEnabled(boolean enabled)
           
 void setGroup(String group)
           
 void setSRPEnabled(boolean enabled)
           
 void setSRPPassword(char[] password)
           
 PairingTest testService(String sid, PairingTestListener listener)
           
 

Field Detail

CONFIG_SECTION_ID

static final String CONFIG_SECTION_ID
See Also:
Constant Field Values
Method Detail

isEnabled

boolean isEnabled()

isSRPEnabled

boolean isSRPEnabled()

setGroup

void setGroup(String group)

getGroup

String getGroup()

listGroup

List<PairedNode> listGroup()
                           throws PairingException
Throws:
PairingException

lookupServices

List<PairedService> lookupServices(String access_code)
                                   throws PairingException
Throws:
PairingException

getAccessCode

String getAccessCode()
                     throws PairingException
Throws:
PairingException

peekAccessCode

String peekAccessCode()

getReplacementAccessCode

String getReplacementAccessCode()
                                throws PairingException
Throws:
PairingException

getQRCode

File getQRCode()

setSRPPassword

void setSRPPassword(char[] password)

addService

PairedService addService(String sid,
                         PairedServiceRequestHandler handler)

getService

PairedService getService(String sid)

setEnabled

void setEnabled(boolean enabled)

setSRPEnabled

void setSRPEnabled(boolean enabled)

getStatus

String getStatus()

getSRPStatus

String getSRPStatus()

getLastServerError

String getLastServerError()

hasActionOutstanding

boolean hasActionOutstanding()

testService

PairingTest testService(String sid,
                        PairingTestListener listener)
                        throws PairingException
Throws:
PairingException

handleLocalTunnel

boolean handleLocalTunnel(TrackerWebPageRequest request,
                          TrackerWebPageResponse response)
                          throws IOException
Throws:
IOException

recordRequest

void recordRequest(String name,
                   String ip,
                   boolean good)

addListener

void addListener(PairingManagerListener l)

removeListener

void removeListener(PairingManagerListener l)