Interface BidiStream<S,R>
- All Superinterfaces:
AutoCloseable, BaseStream, ReceiveStream<R>, SendStream<S>
- All Known Implementing Classes:
RpcStreamImpl, StreamProxy
-
Method Summary
Modifier and TypeMethodDescriptionstatic <Q,R> BidiStream <Q, R> create(StreamHandler<BidiStream<R, Q>> handler) voidflush()sendAndGet(S object) Methods inherited from interface BaseStream
close, getBytesRead, getBytesWritten, getLocalAddress, getRemoteAddress, invalidate, socketMethods inherited from interface ReceiveStream
receiveMethods inherited from interface SendStream
send
-
Method Details
-
flush
- Throws:
IOException
-
sendAndGet
- Throws:
IOExceptionClassNotFoundException
-
create
-