public class OutboundTcpConnectionPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
OutboundTcpConnection |
ackCon |
OutboundTcpConnection |
cmdCon |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.net.InetAddress |
endPoint() |
long |
getRecentTimeouts() |
long |
getTimeouts() |
void |
incrementTimeout() |
static boolean |
isEncryptedChannel(java.net.InetAddress address) |
java.net.Socket |
newSocket() |
static java.net.Socket |
newSocket(java.net.InetAddress endpoint) |
void |
reset(java.net.InetAddress remoteEP)
reconnect to @param remoteEP (after the current message backlog is exhausted).
|
void |
resetToNewerVersion(int version) |
public final OutboundTcpConnection cmdCon
public final OutboundTcpConnection ackCon
public void resetToNewerVersion(int version)
public void reset(java.net.InetAddress remoteEP)
remoteEP
- public long getTimeouts()
public long getRecentTimeouts()
public void incrementTimeout()
public java.net.Socket newSocket() throws java.io.IOException
java.io.IOException
public static java.net.Socket newSocket(java.net.InetAddress endpoint) throws java.io.IOException
java.io.IOException
public java.net.InetAddress endPoint()
public static boolean isEncryptedChannel(java.net.InetAddress address)
public void close()
Copyright © 2013 The Apache Software Foundation