public ProxyBuilder(Udbus.WCF.Client.IBindingFactory bindingFactory, Udbus.WCF.Client.DbusEndpointAbsoluteUriBuilder absoluteUribuilder) { this.bindingFactory = bindingFactory; this.absoluteUribuilder = absoluteUribuilder; }
public ProxyBuilder(Udbus.WCF.Client.IBindingFactory bindingFactory, Udbus.WCF.Client.DbusEndpointAbsoluteUriBuilder absoluteUribuilder) { this.bindingFactory = bindingFactory; this.absoluteUribuilder = absoluteUribuilder; }
public XenClientGuestServiceProxy(Udbus.WCF.Client.IBindingFactory bindingFactory, System.Uri uriEndpoint) : base(bindingFactory, uriEndpoint) { }
static private void BuildProxy <TProxyInterface, TCallback>(System.Uri uriEndpoint, Udbus.WCF.Client.IBindingFactory bindingFactory , TCallback callback , out TProxyInterface proxy, out System.ServiceModel.ICommunicationObject comms , uint maxTries, int wait) where TProxyInterface : class { System.ServiceModel.Channels.Binding binding = bindingFactory.Create(); System.ServiceModel.InstanceContext context = new System.ServiceModel.InstanceContext(callback); System.ServiceModel.DuplexChannelFactory <TProxyInterface> factory = new System.ServiceModel.DuplexChannelFactory <TProxyInterface>( context , binding , new System.ServiceModel.EndpointAddress(uriEndpoint) ); proxy = factory.CreateChannel(); comms = proxy as System.ServiceModel.ICommunicationObject; Proxy <TProxyInterface_> .AttemptClientOpen(ref comms, ref proxy, factory, maxTries, wait); }