private BroadcastableData(DataBroadcastClient broadCaster, string dataName, object data)
 {
     this._broadCasterInfo.BroadcasterName    = broadCaster.Name;
     this._broadCasterInfo.ReplyListeningPort = broadCaster.ReplyListeningPort;
     this._broadCasterInfo.Host = broadCaster.HostName;
     this._dataName             = dataName;
     this._data          = data;
     this._XMLDataString = this.GetXMLString();
 }
 public void BroadCastCliientTest_Load(System.Object sender, System.EventArgs e)
 {
     try
     {
         string ClientName = Interaction.InputBox("Set a broadcast client name", "", "", -1, -1);
         if (ClientName.Length > 0)
         {
             _client = new DataBroadcastClient(ClientName.ToUpper(), BROAD_CAST_IP_ADDRESS, BROAD_CAST_PORT);
         }
         else
         {
             this.Close();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
 public DiscoverableServiceDefinitionHandlingClient(string clientName)
 {
     this._clientName = DSH_CLIENT_NAME_PREFIX + clientName.ToUpper();
     // Me._DataBroadcastClient = DataBroadcastClient.GetInstance(Me._clientName)
     this._DataBroadcastClient = new DataBroadcastClient(this._clientName, DiscoverableServiceHandlingOperativeDefs.DHS_SERVICE_HANDLER_BROADCAST_IP_ADDRESS, DiscoverableServiceHandlingOperativeDefs.DSH_SERVICE_HANDLER_BROADCAST_TCP_PORT);
 }
 internal BroadcastableData(DataBroadcastClient broadCaster, string dataName, CustomList data) : this(broadCaster, dataName, (object)data)
 {
 }
 internal BroadcastableData(DataBroadcastClient broadCaster, string dataName, decimal data) : this(broadCaster, dataName, (object)data)
 {
 }