public interface XmlRpcSession
Modifier and Type | Method and Description |
---|---|
XmlRpcRequest |
createRequest(XmlRpcArgType returnType,
java.lang.String method)
Creates a
XmlRpcRequest from a XmlRpcSession . |
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
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
|
java.lang.String |
toString() |
@NonNull XmlRpcRequest createRequest(XmlRpcArgType returnType, @NonNull java.lang.String method)
returnType
- the return type of the request as a XmlRpcArgType
method
- the function name to call XmlRpcRequest
object void release()
void sendRequest(@NonNull XmlRpcRequest request)
request
- The XmlRpcRequest
to be sent. void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object