|
|||||||||
| 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 java.io.BufferedReader[] |
connectionReaders
|
protected java.net.Socket[] |
connections
Active connections. |
protected java.io.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(java.lang.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 java.net.Socket[] connections
protected java.io.BufferedReader[] connectionReaders
protected java.io.BufferedWriter[] connectionWriters
| Constructor Detail |
|---|
public TcpSender()
| Method Detail |
|---|
public void init(HeartbeatListener config)
throws java.lang.Exception
Sender
init in interface Senderjava.lang.Exception
public int send(java.lang.String mess)
throws java.lang.Exception
Sender
send in interface Senderjava.lang.Exceptionprotected void close(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||