|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandChannel
Client interface for command channel.
Command channel is a request-response channel. All operations are asynchronous.
For each callable command there is a commandId and specified datatype for request and error.
Method Summary | |
---|---|
java.util.Collection<CommandSpec> |
getCommands()
Get all callable commands of the channel. |
AsyncRequest |
invoke(Variant commandId,
Accessor request)
Invoke a service request. |
Method Detail |
---|
AsyncRequest invoke(Variant commandId, Accessor request)
Note it is a good idea create accessor with
Accessors.getAccessor(Binding, Object)
.
commandId
- command identifierrequest
- the request object
java.util.Collection<CommandSpec> getCommands()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |