public interface XmlRpcComponent
Modifier and Type | Method and Description |
---|---|
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.
|
static final String ROLE
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 objectorg.apache.xmlrpc.XmlRpcException
IOException
void registerHandler(Object handler) throws org.apache.xmlrpc.XmlRpcException, IOException
handler
- The handler objectorg.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)
void acceptClient(String address)
void denyClient(String address)
void addMessageListener(XmlRpcMessageListener listener)
void messageReceived(String fileContents)
Copyright © 2001-2012 Codehaus. All Rights Reserved.