|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnonService
This class is used for accessing the AnonService. An instance is created via AnonServiceFactory.
| Field Summary | |
|---|---|
static java.lang.String |
ANONLIB_VERSION
|
| Method Summary | |
|---|---|
void |
addEventListener(AnonServiceEventListener l)
Adds an AnonServiceEventListener. |
AnonChannel |
createChannel(int type)
Creates a new AnonChannel, which could be used for transmitting data. |
int |
initialize(AnonServerDescription anonServer,
IServiceContainer a_serviceContainer,
TermsAndConditionConfirmation termsConfirmation)
Initializes this AnonService. |
boolean |
isConnected()
Returns true if this Anon Service is connected, e.g. |
void |
removeEventListener(AnonServiceEventListener l)
Removes an AnonServiceEventListener. |
void |
removeEventListeners()
|
int |
setProxy(IMutableProxyInterface a_Proxy)
Sets the settings ofr the proxy, which should be used to establish network connections |
void |
shutdown(boolean a_bResetTransferredBytes)
Disconnects form the server. |
| Field Detail |
|---|
static final java.lang.String ANONLIB_VERSION
| Method Detail |
|---|
int initialize(AnonServerDescription anonServer,
IServiceContainer a_serviceContainer,
TermsAndConditionConfirmation termsConfirmation)
anonServer - AnonServer to use
int setProxy(IMutableProxyInterface a_Proxy)
void shutdown(boolean a_bResetTransferredBytes)
boolean isConnected()
AnonChannel createChannel(int type)
throws java.net.ConnectException
AnonChannel for more information.
type - the type of the created channel
ConnectException, - if the Channel could not be created
ToManyOpenChannels, - if there a to many open channels for this AnonService
java.net.ConnectExceptionvoid addEventListener(AnonServiceEventListener l)
AnonServiceEventListener.
l - Listener to addvoid removeEventListener(AnonServiceEventListener l)
l - Listener, which will be removedvoid removeEventListeners()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||