com.aelitis.azureus.core.pairing
Interface PairingManager
- All Known Implementing Classes:
- PairingManagerImpl
public interface PairingManager
CONFIG_SECTION_ID
static final String CONFIG_SECTION_ID
- See Also:
- Constant Field Values
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)