All Classes and Interfaces
Class
Description
A
Broadcast
stores a mapping from users to a list of responses
that should be sent to each user.A
Command
represents a string sent from a client to the server,
after parsing it into a more convenient form.The
CommandParser
class includes a single static method that can
convert a String into the appropriate Command
object that
it represents.Represents a
Command
issued by a client to create a new channel.Represents a
Command
issued by a client to add another client to an
invite-only channel owned by the sender.Represents a
Command
issued by a client to join an existing
channel.Represents a
Command
issued by a client to remove another client
from a channel owned by the sender.Represents a
Command
issued by a client to leave a channel.Represents a
Command
issued by a client to send a message to all
other clients in the channel.Represents a
Command
issued by a client to change his or her
nickname.The
ServerBackend
handles networking and communication with clients,
and is responsible for managing the server state and executing tasks.Initializes and starts a
ServerBackend
, a ServerModel
,
and a very basic UI to indicate that the server is running.The
ServerModel
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.