Interface ReceiveStream<R>
- All Superinterfaces:
AutoCloseable, BaseStream
- All Known Subinterfaces:
BidiStream<S,R>
- All Known Implementing Classes:
RpcStreamImpl, StreamProxy
-
Method Summary
Modifier and TypeMethodDescriptionstatic <R> ReceiveStream<R> create(StreamHandler<SendStream<R>> handler) receive()Methods inherited from interface BaseStream
close, getBytesRead, getBytesWritten, getLocalAddress, getRemoteAddress, invalidate, socket
-
Method Details
-
receive
- Throws:
IOExceptionClassNotFoundException
-
create
-