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 BaseStream
close, getBytesRead, getBytesWritten, getLocalAddress, getRemoteAddress, invalidate, socketMethods inherited from interface DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesMethods inherited from interface DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from interface ObjectInput
available, close, read, read, read, readObject, skipMethods inherited from interface ObjectOutput
close, flush, write, write, write, writeObject
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
create
-