Class TapAckOperationImpl

    • Field Detail

      • opaque

        private final int opaque
    • Method Detail

      • initialize

        public void initialize()
        Description copied from interface: Operation
        Initialize this operation. This is used to prepare output byte buffers and stuff.
        Specified by:
        initialize in interface Operation
        Specified by:
        initialize in class TapOperationImpl
      • readFromBuffer

        public void readFromBuffer​(java.nio.ByteBuffer data)
        Description copied from class: OperationImpl
        Read from the incoming ByteBuffer. Reading from the buffer is done in stages, depending on how much data can be read at once. First, the header is read and then parsed (24 bytes, indicated by OperationImpl.MIN_RECV_PACKET). Then, the payload is read (if one is available for this operation and can be loaded fully).
        Specified by:
        readFromBuffer in interface Operation
        Overrides:
        readFromBuffer in class TapOperationImpl
        Parameters:
        data - the buffer to read from.