Beispiel #1
0
        public static IKalos CreateIncomingMessage(string communicator, string sender, string message)
        {
            var kalos = new Kalos(CommandStrings.IncomingMessage, message)
            {
                Sender = sender,
                Origin = communicator
            };

            return(kalos);
        }
Beispiel #2
0
        public static IKalos CreateOutgoingMessage(string communicator, string sender, string message)
        {
            var kalos = new Kalos(CommandStrings.OutgoingMessage, message)
            {
                Sender = sender,
                Target = communicator
            };

            return(kalos);
        }