Exemplo n.º 1
0
        public void In_RequestClientData(RemReqClientData request)
        {
            Console.WriteLine("Receive Request ClientData from Remote Client.");

            Dictionary <string, ClientData> _cltCfgData = new Dictionary <string, ClientData>();

            ClientData clt = new ClientData();

            clt.Id   = "qwer";
            clt.Name = "Name1";
            _cltCfgData.Add(clt.Id, clt);

            clt      = new ClientData();
            clt.Id   = "45trt";
            clt.Name = "Name2";
            _cltCfgData.Add(clt.Id, clt);

            ClientDataManager cd = new ClientDataManager();

            Out_SendClientConfig(new RemReplyClientData(cd));
        }
Exemplo n.º 2
0
 public void In_RequestClientData(RemReqClientData request)
 {
     Builder.Output(ClassName + ": recibe solicitud remota de datos de cliente.", TraceEventType.Verbose);
     MessageBus.Send(new RequestClientConfig());
 }