Package rocks.xmpp.extensions.rpc.client
Class ClientRpcManager
- java.lang.Object
-
- rocks.xmpp.core.stanza.AbstractIQHandler
-
- rocks.xmpp.extensions.rpc.AbstractRpcManager
-
- rocks.xmpp.extensions.rpc.client.ClientRpcManager
-
- All Implemented Interfaces:
ExtensionProtocol,IQHandler,DiscoverableInfo,RpcManager
public final class ClientRpcManager extends AbstractRpcManager
This manager allows you to call remote procedures and handle inbound calls, if enabled.By default this manager is disabled. If you want to support RPC (i.e. handle inbound calls) set a RPC handler, which allows you to handle inbound calls.
- See Also:
- XEP-0009: Jabber-RPC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncResult<Value>call(Jid jid, String methodName, Value... parameters)voidsetRpcHandler(RpcHandler rpcHandler)-
Methods inherited from class rocks.xmpp.extensions.rpc.AbstractRpcManager
getFeatures, getIdentities, getNamespace, isEnabled
-
Methods inherited from class rocks.xmpp.core.stanza.AbstractIQHandler
getPayloadClass, handleRequest
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface rocks.xmpp.extensions.disco.model.info.DiscoverableInfo
getExtensions
-
-
-
-
Method Detail
-
setRpcHandler
public final void setRpcHandler(RpcHandler rpcHandler)
- Specified by:
setRpcHandlerin interfaceRpcManager- Overrides:
setRpcHandlerin classAbstractRpcManager
-
call
public AsyncResult<Value> call(Jid jid, String methodName, Value... parameters)
-
-