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