public abstract class TapOperationImpl extends OperationImpl implements TapOperation
TapOperation.CallbackCANCELLED, TIMED_OUT| Modifier and Type | Method and Description |
|---|---|
abstract void |
initialize()
Initialize this operation.
|
void |
readFromBuffer(java.nio.ByteBuffer data)
Read from the incoming
ByteBuffer. |
getErrorMsg, toStringaddClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writingequals, getClass, hashCode, notify, notifyAll, wait, wait, waitstreamClosedaddClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writingpublic abstract void initialize()
Operationinitialize in interface Operationinitialize in class BaseOperationImplpublic void readFromBuffer(java.nio.ByteBuffer data)
throws java.io.IOException
OperationImplByteBuffer.
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).readFromBuffer in interface OperationreadFromBuffer in class OperationImpldata - the buffer to read from.java.io.IOException - if an error happened during parsing/reading.