Supports Reactor & Thread-Per-Client design patterns using Generics, includes Socket Programming & Encoder-Decoder implementation.
To Run The Server:
- open spl-net folder
- open terminal
- mvn clean compile
- TPC: mvn exec:java -Dexec.mainClass="bgu.spl.net.impl.BGSServer.TPCMain" -Dexec.args="7777"
- Reactor: mvn exec:java -Dexec.mainClass="bgu.spl.net.impl.BGSServer.ReactorMain" -Dexec.args="7777 4"
To Run a Client:
- open Boost_Echo_Client
- open terminal
- make
- cd bin
- ./BGSclient 127.0.0.1 7777
Supported Commands:
- REGISTER
- LOGIN
- LOGOUT
- USERLIST
- STAT
- POST
- PM
- FOLLOW 0
- FOLLOW 1