throw new PatternSyntaxException("bad command '" + uppercased+
"' -- starts with neither '"+ RAW+ "' nor '"+ WRITABLE+"'.", cmd, -1);
}
String cmdAfterSpace = cmd.substring(cmd.indexOf(' ')+1);
rules = new Filter(cmdAfterSpace);
out = new DataOutputStream(sock.getOutputStream());
//now that we read everything OK we can add ourselves to list, and return.
synchronized(tees) {
tees.add(this);