ServerModel
may send any one of them in reply.assertErrorToUser(int, Set,
Broadcast)
with a singleton set, for cases where only a single error
code is allowed by the specification.ServerResponse
s to be sent from the
server to one or more client(s) as the result of a user registration or
deregistration, or in response to a command received from some client.Broadcast
.Command
with the provided components.Command
s with no parameters.static
method CommandParser.parse(String)
.NAMES
response for some
channel given the owner nick for that channel and a collection of all
users on that channel, including the owner.ServerErrorCode
enum constant.CONNECT
Command
.CREATE
Command
.INVITE
Command
.JOIN
Command
.KICK
Command
.LEAVE
Command
.MESG
Command
.NAMES
Command
.NICK
Command
.QUIT
Command
.Command
object to represent these components.ServerResponse
to the list of responses to be
broadcast to the user with specified user ID.other
to this broadcast, excluding any
duplicates sent to the same user ID in both broadcasts.ERROR
response and
sends it to the user with specified user ID, exactly as if using Broadcast.send(int, ServerResponse)
.ServerModel
with any collections needed for
modeling the server state initialized.ServerModel
.Command
, a user registration, or a user deregistration.Command
from its
components to create the ServerResponse
.Command
without
parameters from its (other) components to create the ServerResponse
.ServerModel
.ServerModel
Command
as it would be sent
over the wire to the server.