Class TcpSender
java.lang.Object
org.apache.catalina.ha.backend.TcpSender
-
Field Summary
Modifier and TypeFieldDescriptionprotected BufferedReader[]
protected Socket[]
Active connections.protected BufferedWriter[]
protected Proxy[]
Proxies. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
close
(int i) Close connection.void
init
(HeartbeatListener config) Set the configuration parametersint
Send the message to the proxies
-
Field Details
-
proxies
Proxies. -
connections
Active connections. -
connectionReaders
-
connectionWriters
-
-
Constructor Details
-
TcpSender
public TcpSender()
-
-
Method Details
-
init
-
send
-
close
protected void close(int i) Close connection.- Parameters:
i
- The index of the connection that will be closed
-