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