Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }