Sender (Apache Tomcat 7.0.96 API Documentation)

org.apache.catalina.ha.backend

## Interface Sender

- All Known Implementing Classes:
    MultiCastSender, TcpSender

      public interface Sender

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init(HeartbeatListener config)` Set the configuration parameters
    `int` | `send(java.lang.String mess)` Send the message to the proxies

- - ### Method Detail

    - #### init

          void init(HeartbeatListener config)
                    throws java.lang.Exception

      Set the configuration parameters
      Throws:
        `java.lang.Exception`

    - #### send

          int send(java.lang.String mess)
                   throws java.lang.Exception

      Send the message to the proxies
      Throws:
        `java.lang.Exception`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.