Example #1
0
 public SubscriberForm()
 {
     _service = new PubSubService();
     InitializeComponent();
     serverIP = ConfigurationSettings.AppSettings["ServerIP"];
     txtTopicName.Text = "Bangladesh";
     sendInfoRtb.Text = DateTime.Now.ToString();
     this.Closed += new EventHandler(Subscriber_Closed);
 }
Example #2
0
 private void HostPublishSubscribeServices()
 {
     _producterService = new PubSubService();
     _producterService.InitTcpService();
     _producterService.TestForPublish(ProducerTcpService_ReceiveMessageEventHandler);
 }