R
- reply object typeD
- request data object typepublic static interface RemoteProcedure.Request<R,D>
Modifier and Type | Method and Description |
---|---|
RemoteProcedure.Reply<R> |
beginReply()
Begin a reply after receiving all data.
|
void |
finish()
Reply and immediately finish, without sending any data to caller.
|
D |
receive()
Receive data from caller.
|
int |
receiveInto(java.util.Collection<? super D> c)
Receive all remaining data from caller.
|
D receive() throws RepositoryException
RepositoryException
int receiveInto(java.util.Collection<? super D> c) throws RepositoryException
c
- collection to receive dataRepositoryException
RemoteProcedure.Reply<R> beginReply() throws RepositoryException
java.lang.IllegalStateException
- if reply was already begun, or if
request is finished, or if more data must be receivedRepositoryException
void finish() throws RepositoryException
java.lang.IllegalStateException
- if a reply was already begun or if
more data must be receivedRepositoryException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.