This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / Benchmarks / Chat / Room.java
diff --git a/Robust/src/Benchmarks/Chat/Room.java b/Robust/src/Benchmarks/Chat/Room.java
deleted file mode 100644 (file)
index 938137c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-public class Room {
-    String name;
-    HashSet participants;
-    public Room(String n) {
-       name=n;
-       participants=new HashSet();
-    }
-    
-    void addParticipant(ChatSocket cs) {
-       participants.add(cs);
-       cs.room=this;
-    }
-
-    void sendToRoom(ChatSocket caller, byte [] message) {
-       HashMapIterator hmi=participants.iterator();
-       while(hmi.hasNext()) {
-           ChatSocket cs=(ChatSocket) hmi.next();
-           if (cs!=caller)
-               cs.write(message);
-       }
-    }
-}