Package org.linphone.core
Interface XmlRpcSession
public interface XmlRpcSession
-
Method Summary
Modifier and TypeMethodDescriptioncreateRequest(XmlRpcArgType returnType, String method) Creates aXmlRpcRequestfrom aXmlRpcSession.longGets the native pointer used by this class to make native method calls.Gets the object stored in this object user's datavoidrelease()Stop and unref an XML rpc session.voidsendRequest(XmlRpcRequest request) Send an XML-RPC request.voidsetUserData(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 aXmlRpcArgTypemethod- the function name to call- Returns:
- a
XmlRpcRequestobject
-
release
void release()Stop and unref an XML rpc session.
Pending requests will be aborted. -
sendRequest
Send an XML-RPC request.
- Parameters:
request- TheXmlRpcRequestto 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()
-