Example usage for Java org.apache.thrift.transport TNonblockingSocket fields, constructors, methods, implement or subclass
The text is from its open source code.
TNonblockingSocket(String host, int port) | |
TNonblockingSocket(SocketChannel socketChannel) Constructor that takes an already created socket. |
SocketChannel | getSocketChannel() Returns a reference to the underlying SocketChannel. |
void | setTimeout(int timeout) Sets the socket timeout, although this implementation never uses blocking operations so it is unused. |