Hello tomcat developers, In tomcat 4.0.4-b1 src code I had a quick look thru and found the following in org.apache.catalina.cluster:
public class MulticastSender extends ClusterSessionBase implements ClusterSender { // ----------------------------------------------------- Instance Variables /** * The unique message ID */ private static String senderId = null; /** * The name of our component, used for logging. */ private String senderName = "MulticastSender"; /** * The MulticastSocket to use */ private MulticastSocket multicastSocket = null; /** * The multicastAdress this socket is bound to */ private InetAddress multicastAddress = null; /** * The multicastPort this socket is bound to */ private int multicastPort; // --------------------------------------------------------- Public Methods /** * Create a new MulticastSender, only receivers with our * senderId will receive our data. * * @param senderId The senderId * @param multicastSocket the socket to use * @param multicastAddress the address to use * @param multicastPort the port to use */ MulticastSender(String senderId, MulticastSocket multicastSocket, InetAddress multicastAddress, int multicastPort) { this.multicastAddress = multicastAddress; this.multicastPort = multicastPort; this.multicastSocket = multicastSocket; this.senderId = senderId; The senderId is static ( a class variable, yes? ) but the comment says that it is an instance variable and in the constructor it is refered to as an instance variable instead of a class variable. Is this intentional? regards, Chris Munroe.