Package org.apache.catalina.ha.backend
Interface Sender
- All Known Implementing Classes:
- MultiCastSender,- TcpSender
public interface Sender
Interface to send data to proxies.
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit(HeartbeatListener config) Set the configuration parametersintSend the message to the proxies
- 
Method Details- 
initSet the configuration parameters- Parameters:
- config- The heartbeat listener configuration
- Throws:
- Exception- An error occurred
 
- 
sendSend the message to the proxies- Parameters:
- mess- The message that will be sent
- Returns:
- 0if no error occurred,- -1otherwise
- Throws:
- Exception- An error occurred
 
 
-