mcast
Class Lobby

java.lang.Object
  extended by mcast.Lobby

public class Lobby
extends java.lang.Object

Lobby: a server to register yourself as a member of the mcast group, and to find out who else is in the group.

Version:
$Id: Lobby.java,v 1.2 2009/01/15 02:54:00 zahorjan Exp $

Constructor Summary
Lobby(int port, int clientCnt)
           
 
Method Summary
static void main(java.lang.String[] args)
          Lobby is invoked as java -classpath classes mcast.Lobby port n where port is the lobby port to use and n is the number of clients that will join the group.
static void usage()
          A gratuitous usage() message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lobby

public Lobby(int port,
             int clientCnt)
Parameters:
clientCnt - The number of clients who will be in the mcast group.
Method Detail

usage

public static void usage()
A gratuitous usage() message.


main

public static void main(java.lang.String[] args)
Lobby is invoked as java -classpath classes mcast.Lobby port n where port is the lobby port to use and n is the number of clients that will join the group.