public class ThriftSocketChannel
extends org.apache.thrift.transport.TNonblockingSocket
继承于TNonblockingSocket.
构造器和说明 |
---|
ThriftSocketChannel(SocketChannel socket) |
ThriftSocketChannel(String host,
int port) |
ThriftSocketChannel(String host,
int port,
int timeout) |
close, finishConnect, flush, getSocketChannel, isOpen, open, read, read, registerSelector, setTimeout, startConnect, write, write
public ThriftSocketChannel(SocketChannel socket) throws IOException
IOException
public ThriftSocketChannel(String host, int port) throws IOException
IOException
public ThriftSocketChannel(String host, int port, int timeout) throws IOException
IOException
Copyright © 2016–2019. All rights reserved.