R
- reply object typeD
- request data object typepublic interface RemoteProcedure<R,D>
extends java.io.Serializable
RemoteProcedureCapability
. Any data within the procedure instance is
serialized to the remote host, and possibly the class definition
too. Execution might have security restrictions applied.
The RemoteProcedure instance is Serializable, and so any serializable
parameters can be passed with it. Storables and extra data can be sent
through the RemoteProcedure.Request
object. Any data returned by procedure
implementation must be sent through the RemoteProcedure.Reply
object.
Modifier and Type | Interface and Description |
---|---|
static interface |
RemoteProcedure.Call<R,D>
Client-side call into a remote procedure.
|
static interface |
RemoteProcedure.Reply<R>
Reply from remote procedure implementation.
|
static interface |
RemoteProcedure.Request<R,D>
Request into a remote procedure, as seen by procedure implementation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleRequest(Repository repo,
RemoteProcedure.Request<R,D> request)
Request handler for remote procedure implementation.
|
boolean handleRequest(Repository repo, RemoteProcedure.Request<R,D> request) throws RepositoryException
repo
- repository as seen by host that procedure is running fromrequest
- non-null request objectRepositoryException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.