|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.xmlrpc.client.AnonServiceImplProxy
public class AnonServiceImplProxy
| Field Summary | |
|---|---|
(package private) int |
m_ClientID
|
(package private) java.lang.String |
m_RpcServerHost
|
(package private) int |
m_RpcServerPort
|
| Fields inherited from interface anon.AnonService |
|---|
ANONLIB_VERSION |
| Constructor Summary | |
|---|---|
AnonServiceImplProxy(java.lang.String addr,
int port)
|
|
| Method Summary | |
|---|---|
void |
addEventListener(AnonServiceEventListener l)
Adds an AnonServiceEventListener. |
AnonChannel |
createChannel(int type)
Creates a new AnonChannel, which could be used for transmitting data. |
AnonChannel |
createChannel(java.lang.String host,
int port)
|
private java.lang.Object |
doRemote(java.lang.String method,
java.util.Vector params)
|
int |
initialize(AnonServerDescription mixCascade,
IServiceContainer a_serviceContainer,
TermsAndConditionConfirmation termsConfirmation)
Initializes this AnonService. |
boolean |
isConnected()
Returns true if this Anon Service is connected, e.g. |
protected int |
recv(int channelid,
byte[] buff,
int off,
int len)
|
void |
removeEventListener(AnonServiceEventListener l)
Removes an AnonServiceEventListener. |
void |
removeEventListeners()
|
protected void |
send(int channelid,
byte[] buff,
int off,
int len)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String m_RpcServerHost
int m_RpcServerPort
int m_ClientID
| Constructor Detail |
|---|
public AnonServiceImplProxy(java.lang.String addr,
int port)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public int initialize(AnonServerDescription mixCascade,
IServiceContainer a_serviceContainer,
TermsAndConditionConfirmation termsConfirmation)
AnonService
initialize in interface AnonServicemixCascade - AnonServer to use
public boolean isConnected()
AnonService
isConnected in interface AnonServicepublic int setProxy(IMutableProxyInterface a_Proxy)
AnonService
setProxy in interface AnonServicepublic void shutdown(boolean a_bResetTransferredBytes)
AnonService
shutdown in interface AnonService
public AnonChannel createChannel(int type)
throws java.net.ConnectException
AnonServiceAnonChannel for more information.
createChannel in interface AnonServicetype - the type of the created channel
java.net.ConnectException
public AnonChannel createChannel(java.lang.String host,
int port)
throws java.net.ConnectException
java.net.ConnectExceptionpublic void addEventListener(AnonServiceEventListener l)
AnonServiceAnonServiceEventListener.
addEventListener in interface AnonServicel - Listener to addpublic void removeEventListener(AnonServiceEventListener l)
AnonService
removeEventListener in interface AnonServicel - Listener, which will be removedpublic void removeEventListeners()
removeEventListeners in interface AnonService
private java.lang.Object doRemote(java.lang.String method,
java.util.Vector params)
throws java.io.IOException
java.io.IOException
protected void send(int channelid,
byte[] buff,
int off,
int len)
throws java.io.IOException
java.io.IOException
protected int recv(int channelid,
byte[] buff,
int off,
int len)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||