Package org.linphone.core
Interface XmlRpcSession
public interface XmlRpcSession
-
Method Summary
Modifier and TypeMethodDescriptioncreateRequest
(XmlRpcArgType returnType, String method) Creates aXmlRpcRequest
from aXmlRpcSession
.long
Gets the native pointer used by this class to make native method calls.Gets the object stored in this object user's datavoid
release()
Stop and unref an XML rpc session.void
sendRequest
(XmlRpcRequest request) Send an XML-RPC request.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
createRequest
- Parameters:
returnType
- the return type of the request as aXmlRpcArgType
method
- the function name to call- Returns:
- a
XmlRpcRequest
object
-
release
void release()Stop and unref an XML rpc session.
Pending requests will be aborted. -
sendRequest
Send an XML-RPC request.
- Parameters:
request
- TheXmlRpcRequest
to be sent.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-