public abstract class TNonblockingTransport extends TEndpointTransport
knownMessageSize, remainingMessageSize| Constructor and Description |
|---|
TNonblockingTransport(TConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
finishConnect()
Non-blocking connection completion.
|
abstract java.nio.channels.SelectionKey |
registerSelector(java.nio.channels.Selector selector,
int interests) |
abstract boolean |
startConnect()
Non-blocking connection initialization.
|
checkReadBytesAvailable, countConsumedMessageBytes, getConfiguration, getMaxMessageSize, resetConsumedMessageSize, updateKnownMessageSizeclose, consumeBuffer, flush, getBuffer, getBufferPosition, getBytesRemainingInBuffer, isOpen, open, peek, read, read, readAll, write, write, writepublic TNonblockingTransport(TConfiguration config) throws TTransportException
TTransportExceptionpublic abstract boolean startConnect()
throws java.io.IOException
java.io.IOExceptionSocketChannel.connect(SocketAddress remote)public abstract boolean finishConnect()
throws java.io.IOException
java.io.IOExceptionSocketChannel.finishConnect()public abstract java.nio.channels.SelectionKey registerSelector(java.nio.channels.Selector selector,
int interests)
throws java.io.IOException
java.io.IOException