|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.ha.backend.TcpSender
public class TcpSender
| Field Summary | |
|---|---|
protected BufferedReader[] |
connectionReaders
|
protected Socket[] |
connections
Active connections. |
protected BufferedWriter[] |
connectionWriters
|
protected Proxy[] |
proxies
Proxies. |
| Constructor Summary | |
|---|---|
TcpSender()
|
|
| Method Summary | |
|---|---|
protected void |
close(int i)
Close connection. |
void |
init(HeartbeatListener config)
Set the configuration parameters |
int |
send(String mess)
Send the message to the proxies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Proxy[] proxies
protected Socket[] connections
protected BufferedReader[] connectionReaders
protected BufferedWriter[] connectionWriters
| Constructor Detail |
|---|
public TcpSender()
| Method Detail |
|---|
public void init(HeartbeatListener config)
throws Exception
Sender
init in interface SenderException
public int send(String mess)
throws Exception
Sender
send in interface SenderExceptionprotected void close(int i)
|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||