Added reactor example
Copied reactor example into server src
started editing reactor to fit out code.
moved reactor/reactor and reactor/protocol java files to src
Changed encoding from us-ascii back to utf-8
changed permission to rw instead of rwx for reactor code
renamed MessageTokenizer to IrcTokenizer.
renamed old code calls from MessageTokenizer to IrcTokenizer; Moved reactor's MessageTokenizer into src.
move rest of reactor's tokenizer code into source and changed permissions to 644
Moved tokenizer/http/http*.java into src; delete protocol interface, since we're moving to ASyncProtocolInterface.
Started refactoring IrcProtocol, Client & Command to fit new Reactor model. After I'm through it will still work with ThreadPerClientModel.
Changed quit reply message to Goodbye.
Changed package reactor/protocol/tokenizer to irc; removed package import statements, since everything's in the same package.
Changed http*.java permission to rw-x
Changed Oper class to IrcOperations, and made it a singleton. In addition removed all Command-related code from it.
Moved Command class into IrcOperations.
Some small function fixes to be more general.
Renamed lots of methods to be more readable.
Fully documented Client, Channel, Oper(IrcOperations), and IrcProtocol.
Still need to make IrcProtocol constructor recieve 0 arguments, instead of client and oper.
Renamed Oper.java to IrcOperations.java
Removed IrcOperations, and split its job to Client and Channel classes, as static methods;
IrcProtocol now creates and initializes client;
Client now uses ConnectionHandler instead of Socket. Still need to make some adjustment to its code though;
removed http*.java reactor files.
Removed echoprotocol.java
deleted src/Server.java - it is back to ThreadPerClient.java again; Renoamer EncoderInterface to Encoder and TokenizerInterface to Tokenizer; Moved ConnectionHandler to reactor/