Interface RpcStream

  • All Superinterfaces:
    java.lang.AutoCloseable, BaseStream, java.io.DataInput, java.io.DataOutput, java.io.ObjectInput, java.io.ObjectOutput
    All Known Implementing Classes:
    RpcStreamImpl, StreamProxy

    public interface RpcStream
    extends BaseStream, java.io.ObjectInput, java.io.ObjectOutput
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      static RpcStream create​(StreamHandler<RpcStream> handler)  
      void read​(java.nio.ByteBuffer buf)  
      void write​(java.nio.ByteBuffer buf)  
      • Methods inherited from interface java.io.DataInput

        readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
      • Methods inherited from interface java.io.DataOutput

        writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
      • Methods inherited from interface java.io.ObjectInput

        available, close, read, read, read, readObject, skip
      • Methods inherited from interface java.io.ObjectOutput

        close, flush, write, write, write, writeObject
    • Method Detail

      • read

        void read​(java.nio.ByteBuffer buf)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write​(java.nio.ByteBuffer buf)
            throws java.io.IOException
        Throws:
        java.io.IOException