FileDocCategorySizeDatePackage
CollaboratorTest.javaAPI DocExample454Mon Mar 17 20:58:46 GMT 1997dcj.util.Collaborative

CollaboratorTest

public class CollaboratorTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    MessageCollaborator c =
      new MessageCollaborator(argv[1], Integer.valueOf(argv[2]).intValue(),
                              argv[0]);
    try {
      while (c.getIdentity() == null) {}
      c.broadcast("msg", "hello world");
    }
    catch (IOException e) {}
    while (c != null) {}