protected override BindingElement CreateBindingElement()
        {
            MakeConnectionBindingElement binding = new MakeConnectionBindingElement();

            this.ApplyConfiguration(binding);
            return(binding);
        }
        protected override void InitializeFrom(BindingElement bindingElement)
        {
            base.InitializeFrom(bindingElement);
            MakeConnectionBindingElement element = (MakeConnectionBindingElement)bindingElement;

            this.InitializeFrom(element);
        }
        public override void ApplyConfiguration(BindingElement bindingElement)
        {
            base.ApplyConfiguration(bindingElement);
            MakeConnectionBindingElement binding = (MakeConnectionBindingElement)bindingElement;

            this.ApplyConfiguration(binding);
        }
 void InitializeFrom(MakeConnectionBindingElement bindingElement)
 {
     this.ServerPollTimeout = bindingElement.ServerPollTimeout;
     this.ClientPollTimeout = bindingElement.ClientPollTimeout;
 }
 void ApplyConfiguration(MakeConnectionBindingElement bindingElement)
 {
     bindingElement.ServerPollTimeout = this.ServerPollTimeout;
     bindingElement.ClientPollTimeout = this.ClientPollTimeout;
 }
 public MakeConnectionChannelFactory(MakeConnectionBindingElement bindingElement, BindingContext context)
     : base(context)
 {
     this.settings = (IMakeConnectionFactorySettings)bindingElement;
 }
Exemplo n.º 7
0
 public MakeConnectionChannelListener(MakeConnectionBindingElement bindingElement, BindingContext context)
     : base(context)
 {
     this.settings = (IMakeConnectionListenerSettings)bindingElement;
 }
 MakeConnectionBindingElement(MakeConnectionBindingElement other)
 {
     this.clientPollTimeout = other.clientPollTimeout;
     this.serverPollTimeout = other.serverPollTimeout;
 }