Package | Description |
---|---|
rocks.xmpp.extensions.rpc |
Provides classes for XEP-0009: Jabber-RPC.
|
rocks.xmpp.extensions.rpc.model |
Provides XML schema implementations of XEP-0009: Jabber-RPC.
|
Modifier and Type | Method and Description |
---|---|
Value |
RpcHandler.process(Jid requester,
java.lang.String methodName,
java.util.List<Value> parameters)
Processes the remote procedure call.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<Value> |
RpcManager.call(Jid jid,
java.lang.String methodName,
Value... parameters)
Calls a remote procedure.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<Value> |
RpcManager.call(Jid jid,
java.lang.String methodName,
Value... parameters)
Calls a remote procedure.
|
Modifier and Type | Method and Description |
---|---|
Value |
RpcHandler.process(Jid requester,
java.lang.String methodName,
java.util.List<Value> parameters)
Processes the remote procedure call.
|
Modifier and Type | Method and Description |
---|---|
Value |
Rpc.MethodResponse.getResponse()
Gets the response value.
|
static Value |
Value.of(boolean b)
Creates a boolean value.
|
static Value |
Value.of(byte[] bytes)
Creates a binary (base64) value.
|
static Value |
Value.of(java.util.Collection<Value> list)
Creates an array type value.
|
static Value |
Value.of(java.lang.Double d)
Creates a double value.
|
static Value |
Value.of(java.lang.Integer integer)
Creates an integer value.
|
static Value |
Value.of(java.util.Map<java.lang.String,Value> map)
Creates a struct type value.
|
static Value |
Value.of(java.time.OffsetDateTime dateTime)
Creates a date value.
|
static Value |
Value.of(java.lang.String string)
Creates a string value.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Value> |
Value.getAsArray()
Gets the value as array or null.
|
java.util.Map<java.lang.String,Value> |
Value.getAsMap()
Gets the value as map or null.
|
java.util.List<Value> |
Rpc.MethodCall.getParameters()
Gets the parameters.
|
Modifier and Type | Method and Description |
---|---|
static Rpc |
Rpc.ofMethodCall(java.lang.String methodName,
Value... parameters)
Creates a method call with a list of parameters.
|
static Rpc |
Rpc.ofMethodResponse(Value value)
Creates a method response.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Value.of(java.util.Collection<Value> list)
Creates an array type value.
|
static Value |
Value.of(java.util.Map<java.lang.String,Value> map)
Creates a struct type value.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.