processOp
protected abstract ServiceHandshake.InitResult processOp(ServiceHandshake.IOAdapter ioAdapter)
throws IOException
Process the operation in support of the handshake.
This operation may consist of read and/or write operations.
This function returns one of the following:
InitResult.FAIL: operation was rejected or otherwise failed. The
underlying communication channel needs to be closed by the
caller.
InitResult.DONE: operation has completed. The most recent
Response from the server received during this operation is
available for inspection. Note that this may return DONE
with the response set to a failure response value (e.g. INVALID)
- Throws:
IOException