R
- reply object typepublic static interface RemoteProcedure.Reply<R>
Modifier and Type | Method and Description |
---|---|
void |
finish()
Finish the reply.
|
void |
flush()
Flushes all the data sent so far.
|
RemoteProcedure.Reply<R> |
reset()
Reset the internal object stream of the reply, allowing cached
objects to get freed.
|
RemoteProcedure.Reply<R> |
send(R data)
Send reply data to the caller.
|
RemoteProcedure.Reply<R> |
sendAll(Cursor<? extends R> cursor)
Reply with all data from the given cursor to the caller.
|
RemoteProcedure.Reply<R> |
sendAll(java.lang.Iterable<? extends R> iterable)
Reply with all data from the given iterable to the caller.
|
RemoteProcedure.Reply<R> send(R data) throws RepositoryException
java.lang.IllegalStateException
- if reply is finishedRepositoryException
RemoteProcedure.Reply<R> sendAll(java.lang.Iterable<? extends R> iterable) throws RepositoryException
java.lang.IllegalStateException
- if reply is finishedRepositoryException
RemoteProcedure.Reply<R> sendAll(Cursor<? extends R> cursor) throws RepositoryException
java.lang.IllegalStateException
- if reply is finishedRepositoryException
RemoteProcedure.Reply<R> reset() throws RepositoryException
java.lang.IllegalStateException
- if reply is finishedRepositoryException
void flush() throws RepositoryException
RepositoryException
void finish() throws RepositoryException
RepositoryException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.