|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandChannel
Command channel is a request-response channel. All operations are asynchronous. This interface is intended to be used by channel clients. 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,
Variant request)
Invoke a service request. |
Method Detail |
---|
AsyncRequest invoke(Variant commandId, Variant request)
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 |