public abstract class TcpBaseServer extends BaseServer
BaseServer.Reaper
Modifier and Type | Field and Description |
---|---|
protected int |
peer_addr_read_timeout |
protected int |
send_queue_size |
protected SocketFactory |
socket_factory |
protected boolean |
use_send_queues |
client_bind_addr, client_bind_port, conn_expire_time, conn_listeners, conns, defer_client_binding, factory, linger, local_addr, log, reaper, reaperInterval, receiver, recv_buf_size, running, send_buf_size, sock_conn_timeout, sock_creation_lock, tcp_nodelay, time_service, use_peer_connections
Modifier | Constructor and Description |
---|---|
protected |
TcpBaseServer(ThreadFactory f) |
Modifier and Type | Method and Description |
---|---|
protected TcpConnection |
createConnection(Address dest)
Creates a new connection object to target dest, but doesn't yet connect it
|
int |
peerAddressReadTimeout() |
TcpBaseServer |
peerAddressReadTimeout(int timeout) |
int |
sendQueueSize() |
TcpBaseServer |
sendQueueSize(int send_queue_size) |
SocketFactory |
socketFactory() |
TcpBaseServer |
socketFactory(SocketFactory factory) |
boolean |
useSendQueues() |
TcpBaseServer |
useSendQueues(boolean flag) |
addConnection, addConnectionListener, clearConnections, clientBindAddress, clientBindAddress, clientBindPort, clientBindPort, close, closeConnection, connectionClosed, connectionEstablished, connectionEstablishedTo, connExpireTime, connExpireTimeout, deferClientBinding, deferClientBinding, explanation, getConnection, getNumConnections, getNumOpenConnections, hasConnection, linger, linger, localAddress, localAddress, log, log, notifyConnectionClosed, notifyConnectionEstablished, printConnections, reaperInterval, reaperInterval, receive, receive, receiveBufferSize, receiveBufferSize, receiver, receiver, removeConnectionIfPresent, removeConnectionListener, replaceConnection, retainAll, running, send, send, sendBufferSize, sendBufferSize, sendToAll, sendToAll, socketConnectionTimeout, socketConnectionTimeout, start, stop, tcpNodelay, tcpNodelay, timeService, timeService, toString, usePeerConnections, usePeerConnections, validateArgs
protected SocketFactory socket_factory
protected volatile boolean use_send_queues
protected int send_queue_size
protected int peer_addr_read_timeout
protected TcpBaseServer(ThreadFactory f)
protected TcpConnection createConnection(Address dest) throws java.lang.Exception
BaseServer
createConnection
in class BaseServer
java.lang.Exception
public int peerAddressReadTimeout()
public TcpBaseServer peerAddressReadTimeout(int timeout)
public int sendQueueSize()
public TcpBaseServer sendQueueSize(int send_queue_size)
public boolean useSendQueues()
public TcpBaseServer useSendQueues(boolean flag)
public SocketFactory socketFactory()
public TcpBaseServer socketFactory(SocketFactory factory)
Copyright © 1998-2020 Red Hat. All Rights Reserved.