public abstract static class ServiceHandshake.ServerInitOp extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ServiceHandshake.ServerHandshake |
initState |
| Modifier | Constructor and Description |
|---|---|
protected |
ServerInitOp(ServiceHandshake.ServerHandshake initState) |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceHandshake.InitResult |
fillBuffer(DataChannel channel,
ByteBuffer buffer)
Helper function to read until the buffer is full.
|
protected abstract ServiceHandshake.InitResult |
processOp(DataChannel channel)
Incrementally process the operation.
|
protected ServiceHandshake.InitResult |
sendBuffer(DataChannel channel,
ByteBuffer buffer)
Helper function to write the contents of the buffer.
|
protected final ServiceHandshake.ServerHandshake initState
protected ServerInitOp(ServiceHandshake.ServerHandshake initState)
protected abstract ServiceHandshake.InitResult processOp(DataChannel channel) throws IOException
IOExceptionprotected ServiceHandshake.InitResult fillBuffer(DataChannel channel, ByteBuffer buffer) throws IOException
IOExceptionprotected ServiceHandshake.InitResult sendBuffer(DataChannel channel, ByteBuffer buffer) throws IOException
IOExceptionCopyright © 2024. All rights reserved.