Package org.cis1200
package org.cis1200
-
ClassDescriptionA
Broadcast
stores a mapping from users to a list of responses that should be sent to each user.ACommand
represents a string sent from a client to the server, after parsing it into a more convenient form.TheCommandParser
class includes a single static method that can convert a String into the appropriateCommand
object that it represents.Represents aCommand
issued by a client to create a new channel.Represents aCommand
issued by a client to add another client to an invite-only channel owned by the sender.Represents aCommand
issued by a client to join an existing channel.Represents aCommand
issued by a client to remove another client from a channel owned by the sender.Represents aCommand
issued by a client to leave a channel.Represents aCommand
issued by a client to send a message to all other clients in the channel.Represents aCommand
issued by a client to change his or her nickname.TheServerBackend
handles networking and communication with clients, and is responsible for managing the server state and executing tasks.Initializes and starts aServerBackend
, aServerModel
, and a very basic UI to indicate that the server is running.TheServerModel
is the class responsible for tracking the state of the server, including its current users and the channels they are in.ServerResponse
is an enumerated type that lists all possible response codes a server can send to a client.