com.aelitis.azureus.core.pairing
Interface PairingManager

All Known Implementing Classes:
PairingManagerImpl

public interface PairingManager


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

Field Detail

CONFIG_SECTION_ID

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

isEnabled

boolean isEnabled()

isSRPEnabled

boolean isSRPEnabled()

setGroup

void setGroup(java.lang.String group)

getGroup

java.lang.String getGroup()

listGroup

java.util.List<PairedNode> listGroup()
                                     throws PairingException
Throws:
PairingException

lookupServices

java.util.List<PairedService> lookupServices(java.lang.String access_code)
                                             throws PairingException
Throws:
PairingException

getAccessCode

java.lang.String getAccessCode()
                               throws PairingException
Throws:
PairingException

peekAccessCode

java.lang.String peekAccessCode()

getReplacementAccessCode

java.lang.String getReplacementAccessCode()
                                          throws PairingException
Throws:
PairingException

getQRCode

java.io.File getQRCode()

setSRPPassword

void setSRPPassword(char[] password)

addService

PairedService addService(java.lang.String sid,
                         PairedServiceRequestHandler handler)

getService

PairedService getService(java.lang.String sid)

setEnabled

void setEnabled(boolean enabled)

setSRPEnabled

void setSRPEnabled(boolean enabled)

getStatus

java.lang.String getStatus()

getSRPStatus

java.lang.String getSRPStatus()

getLastServerError

java.lang.String getLastServerError()

hasActionOutstanding

boolean hasActionOutstanding()

testService

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

handleLocalTunnel

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

recordRequest

void recordRequest(java.lang.String name,
                   java.lang.String ip,
                   boolean good)

addListener

void addListener(PairingManagerListener l)

removeListener

void removeListener(PairingManagerListener l)