@FunctionalInterface
public interface RpcHandler
Handles an inbound remote procedure call.
Modifier and Type | Method and Description |
---|---|
Value |
process(Jid requester,
java.lang.String methodName,
java.util.List<Value> parameters)
Processes the remote procedure call.
|
Value process(Jid requester, java.lang.String methodName, java.util.List<Value> parameters) throws RpcException
Processes the remote procedure call.
requester
- The requester.methodName
- The method name.parameters
- The parameter list.RpcException
- If this exception is thrown, an application-level error (fault) is returned in the XML-RPC structure.Copyright © 2014–2019 XMPP.rocks. All rights reserved.