|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmcast.Lobby
public class Lobby
Lobby: a server to register yourself as a member of the mcast group, and to find out who else is in the group.
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 |
---|
public Lobby(int port, int clientCnt)
clientCnt
- The number of clients who will be in the mcast group.Method Detail |
---|
public static void usage()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |