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); }
public PlainMessage CreateMessage(TargetInformation from, TargetInformation to, MessageBody msg) { PlainMessage message = new PlainMessage(from, to, msg); return(message); }