RESULT
- is the type of the result of the invocation
.COMMAND
- is the type of the specific RemoteInvocationCommand
this handler is
responsible
for.public interface RemoteInvocationCommandHandler<RESULT extends Serializable,COMMAND extends RemoteInvocationCommand<RESULT>>
RemoteInvocationCommand
. Its implementation
defines how to handle
the command on the server-side.Modifier and Type | Method and Description |
---|---|
Class<COMMAND> |
getCommandClass() |
RESULT |
handle(COMMAND command)
This method invokes the given
command and returns the result of the invocation. |
Class<COMMAND> getCommandClass()
RESULT handle(COMMAND command)
command
and returns the result of the invocation.command
- is the RemoteInvocationCommand
to handle.command
invocation.Copyright © 2001–2016 mmm-Team. All rights reserved.