Package one.nio.rpc.stream
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 one.nio.rpc.stream.BaseStream
close, getBytesRead, getBytesWritten, getLocalAddress, getRemoteAddress, invalidate, socketMethods inherited from interface one.nio.rpc.stream.ReceiveStream
receiveMethods inherited from interface one.nio.rpc.stream.SendStream
send
-
Method Details
-
flush
- Throws:
IOException
-
sendAndGet
- Throws:
IOExceptionClassNotFoundException
-
create
-