This is a switchboard for routing message types to the correct message
templates. Once the message template and respective substitution list is
unified with the type, the process is consummated by dispatching the
message through the stream.
- To be done
- - Implement more message types
- send_msg(+Id, +Type) is semidet
- Send a Type of message from connection Id.
- send_msg(+Id, +Type, +Param) is semidet
- Send a Type of message with attention to some Param from connection Id.
- send_msg(+Id, +Type, +Str, +Target) is semidet
- Send a Type of message with attention to Str directed at a Target from
connection Id.