Example #1
0
 public Consumer(string serviceName)
 {
     send            = new CommunicationClient(ClientType.Consumer, serviceName);
     send.Subscribe += new SubscribeHandler(send_Subscribe);
 }
Example #2
0
 public Producer(IPAddress ip, int port, string serviceName)
 {
     //send = new Sender.Sender(ClientType.Producer);
     //send.Reply += new ReceiveHandler(Sender_Reply);
     send = new CommunicationClient(ClientType.Producer, ip, port, serviceName);
 }