public RhspClientManager GetManager()
        {
            RhspCommandContext context = new RhspCommandContext();
            NetTcpBinding      binding = new NetTcpBinding();
            EndpointAddress    address = new EndpointAddress(Settings.Default.HostingServiceUri);

            RhspClientManager manager = new RhspClientManager()
            {
                Binding = binding,
                Address = address,
                Context = context
            };

            return(manager);
        }
 public RhspAdapterFactory(RhspClientManager manager, RhspCommandContext context)
 {
     this.manager = manager;
     this.context = context;
 }
Пример #3
0
 public RhspConnection(RhspServiceClient client, RhspCommandContext context)
 {
     this.client  = client;
     this.context = context;
 }