public interface XmlRpcSession
XmlRpcSession
object used to send XML-RPC requests and handle their
responses.Modifier and Type | Method and Description |
---|---|
XmlRpcRequest |
createRequest(XmlRpcArgType returnType,
java.lang.String method)
Creates a
XmlRpcRequest from a XmlRpcSession . |
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
void |
release()
Stop and unref an XML rpc session.
|
void |
sendRequest(XmlRpcRequest request)
Send an XML-RPC request.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
XmlRpcRequest createRequest(XmlRpcArgType returnType, java.lang.String method)
XmlRpcRequest
from a XmlRpcSession
.method
- the function name to callXmlRpcRequest
objectvoid release()
void sendRequest(XmlRpcRequest request)
request
- The XmlRpcRequest
to be sent.void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()