|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlRpcComponent
The interface an XmlRpcService implements.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
void |
acceptClient(String address)
Add an IP address to the list of accepted clients. |
void |
addMessageListener(XmlRpcMessageListener listener)
Message Listener. |
void |
denyClient(String address)
Add an IP address to the list of denied clients. |
Object |
executeRpc(URL url,
String methodName,
Vector params)
Execute a remote procedure call. |
void |
messageReceived(String fileContents)
Message Received. |
void |
registerHandler(Object handler)
Register an object as a the default handler for the XmlRpc Server part. |
void |
registerHandler(String handlerName,
Object handler)
Register an object as a handler for the XmlRpc Server part. |
void |
setParanoid(boolean state)
Switch client filtering on/off. |
void |
unregisterHandler(String handlerName)
Unregister a handler. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Object executeRpc(URL url, String methodName, Vector params) throws Exception
url
- A URL.methodName
- A String with the method name.params
- A Vector with the parameters.
org.apache.xmlrpc.XmlRpcException
IOException
Exception
void registerHandler(String handlerName, Object handler) throws org.apache.xmlrpc.XmlRpcException, IOException
handlerName
- The name under which we want
to register the servicehandler
- The handler object
org.apache.xmlrpc.XmlRpcException
IOException
void registerHandler(Object handler) throws org.apache.xmlrpc.XmlRpcException, IOException
handler
- The handler object
org.apache.xmlrpc.XmlRpcException
IOException
void unregisterHandler(String handlerName) throws org.apache.xmlrpc.XmlRpcException
handlerName
- The name of the handler to unregister.
org.apache.xmlrpc.XmlRpcException
void setParanoid(boolean state)
acceptClient( java.lang.String )
,
denyClient( java.lang.String )
void acceptClient(String address)
denyClient( java.lang.String )
,
setParanoid( boolean )
void denyClient(String address)
acceptClient( java.lang.String )
,
setParanoid( boolean )
void addMessageListener(XmlRpcMessageListener listener)
void messageReceived(String fileContents)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |