예제 #1
0
 public PlainMessage(TargetInformation from, TargetInformation to, MessageBody messageBody)
 {
     From = from;
     To   = to;
     Mb   = messageBody;
 }
        public TargetInformation GetInfo(string name, string ip)
        {
            TargetInformation targetInfo = new TargetInformation(name, ip);

            return(targetInfo);
        }
예제 #3
0
        public PlainMessage CreateMessage(TargetInformation from, TargetInformation to, MessageBody msg)
        {
            PlainMessage message = new PlainMessage(from, to, msg);

            return(message);
        }