Package one.nio.rpc.stream
Interface RpcStream
- All Superinterfaces:
AutoCloseable,BaseStream,DataInput,DataOutput,ObjectInput,ObjectOutput
- All Known Implementing Classes:
RpcStreamImpl,StreamProxy
-
Method Summary
Modifier and TypeMethodDescriptionstatic RpcStreamcreate(StreamHandler<RpcStream> handler) voidread(ByteBuffer buf) voidwrite(ByteBuffer buf) Methods inherited from interface one.nio.rpc.stream.BaseStream
close, getBytesRead, getBytesWritten, getLocalAddress, getRemoteAddress, invalidate, socketMethods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesMethods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from interface java.io.ObjectInput
available, close, read, read, read, readObject, skipMethods inherited from interface java.io.ObjectOutput
close, flush, write, write, write, writeObject
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
create
-