| java.lang.Object org.apache.catalina.cluster.ClusterSessionBase org.apache.catalina.cluster.MulticastSender
MulticastSender | public class MulticastSender extends ClusterSessionBase implements ClusterSender(Code) | | This class is responsible for sending outgoing multicast
packets to a Cluster.
author: Bip Thelin version: $Revision: 1.4 $, $Date: 2001/07/22 20:25:06 $ |
MulticastSender | MulticastSender(String senderId, MulticastSocket multicastSocket, InetAddress multicastAddress, int multicastPort)(Code) | | Create a new MulticastSender, only receivers with our
senderId will receive our data.
Parameters: senderId - The senderId Parameters: multicastSocket - the socket to use Parameters: multicastAddress - the address to use Parameters: multicastPort - the port to use |
getName | public String getName()(Code) | | Return a String containing the name of this
implementation, used for logging
The name of the implementation |
send | public void send(Object o)(Code) | | Send an object using a multicastSocket
Parameters: o - The object to be sent. |
send | public void send(byte[] b)(Code) | | Send multicast data
Parameters: b - data to be sent |
|
|