Package org.cis1200

Class ServerModel

java.lang.Object
org.cis1200.ServerModel

public final class ServerModel extends Object
The ServerModel is the class responsible for tracking the state of the server, including its current users and the channels they are in. This class is used by subclasses of Command to: 1. handle commands from clients, to create channels, send messages, etc. and 2. handle commands from ServerBackend to coordinate client connection/disconnection.