org.apache.blur.thirdparty.thrift_0_9_0.transport
Class TNonblockingTransport
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransport
org.apache.blur.thirdparty.thrift_0_9_0.transport.TNonblockingTransport
- Direct Known Subclasses:
- TNonblockingSocket
public abstract class TNonblockingTransport
- extends TTransport
Methods inherited from class org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransport |
close, consumeBuffer, flush, getBuffer, getBufferPosition, getBytesRemainingInBuffer, isOpen, open, peek, read, readAll, write, write |
TNonblockingTransport
public TNonblockingTransport()
startConnect
public abstract boolean startConnect()
throws IOException
- Non-blocking connection initialization.
- Throws:
IOException
- See Also:
SocketChannel.connect(SocketAddress remote)
finishConnect
public abstract boolean finishConnect()
throws IOException
- Non-blocking connection completion.
- Throws:
IOException
- See Also:
SocketChannel.finishConnect()
registerSelector
public abstract SelectionKey registerSelector(Selector selector,
int interests)
throws IOException
- Throws:
IOException
read
public abstract int read(ByteBuffer buffer)
throws IOException
- Throws:
IOException
write
public abstract int write(ByteBuffer buffer)
throws IOException
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.