Ejemplo n.º 1
0
 protected BaseProtocolClient(IExchangeDataComponent networkComponent, string ip, int port)
 {
     this.Ip             = ip;
     this.Port           = port;
     this.NetworkService = networkComponent;
     this.NetworkService.Connect(this.Ip, this.Port);
 }
 public MetersProtocolClient(IExchangeDataComponent networkService, string ip, int port)
 {
     this.Ip             = ip;
     this.Port           = port;
     this.NetworkService = networkService;
 }