public SecurityDuplexSessionChannel (ChannelFactoryBase factory, IChannel innerChannel, EndpointAddress remoteAddress, Uri via, InitiatorMessageSecurityBindingSupport security) : base (factory, remoteAddress, via) { this.channel = innerChannel; session = new SecurityDuplexSession (this); InitializeSecurityFunctionality (security); }
public SecurityDuplexSessionChannel(ChannelFactoryBase factory, IChannel innerChannel, EndpointAddress remoteAddress, Uri via, InitiatorMessageSecurityBindingSupport security) : base(factory, remoteAddress, via) { this.channel = innerChannel; session = new SecurityDuplexSession(this); InitializeSecurityFunctionality(security); }
public OutputChannelBase (ChannelFactoryBase factory, EndpointAddress remoteAddress, Uri via) : base (factory) { this.channel_factory = factory; RemoteAddress = remoteAddress; Via = via; }
public TcpDuplexSessionChannel (ChannelFactoryBase factory, TcpChannelInfo info, EndpointAddress address, Uri via) : base (factory, address, via) { is_service_side = false; this.info = info; // make sure to acquire TcpClient here. int explicitPort = Via.Port; client = new TcpClient (Via.Host, explicitPort <= 0 ? TcpTransportBindingElement.DefaultPort : explicitPort); counterpart_address = GetEndpointAddressFromTcpClient (client); }
public TcpDuplexSessionChannel(ChannelFactoryBase factory, TcpChannelInfo info, EndpointAddress address, Uri via) : base(factory, address, via) { is_service_side = false; this.info = info; // make sure to acquire TcpClient here. int explicitPort = Via.Port; client = new TcpClient(Via.Host, explicitPort <= 0 ? TcpTransportBindingElement.DefaultPort : explicitPort); counterpart_address = GetEndpointAddressFromTcpClient(client); }
public void Prepare(ChannelFactoryBase factory, EndpointAddress address) { this.factory = factory; this.message_to = address; PrepareAuthenticator(); // This check is almost extra, though it is needed // to check correct signing token existence. if (EncryptionToken == null) { throw new Exception("INTERNAL ERROR"); } }
protected override void ReleaseCore() { this.factory = null; this.message_to = null; IDisposable disposable = signing_token as IDisposable; if (disposable != null) { disposable.Dispose(); } signing_token = null; disposable = encryption_token as IDisposable; if (disposable != null) { disposable.Dispose(); } encryption_token = null; }
public OutputChannelBase (ChannelFactoryBase factory) : base (factory) { this.channel_factory = factory; }
public RequestChannelBase(ChannelFactoryBase factory) : base(factory) { this.channel_factory = factory; }
public DebugRequestChannel(ChannelFactoryBase source, IRequestChannel inner) : base(source) { this.source = source; this.inner = inner; }
protected override void ReleaseCore () { this.factory = null; this.message_to = null; IDisposable disposable = signing_token as IDisposable; if (disposable != null) disposable.Dispose (); signing_token = null; disposable = encryption_token as IDisposable; if (disposable != null) disposable.Dispose (); encryption_token = null; }
public void Prepare (ChannelFactoryBase factory, EndpointAddress address) { this.factory = factory; this.message_to = address; PrepareAuthenticator (); // This check is almost extra, though it is needed // to check correct signing token existence. if (EncryptionToken == null) throw new Exception ("INTERNAL ERROR"); }
public TcpRequestChannel(ChannelFactoryBase factory, TcpChannelInfo info, EndpointAddress address, Uri via) : base(factory, address, via) { this.info = info; }
public TcpRequestChannel (ChannelFactoryBase factory, TcpChannelInfo info, EndpointAddress address, Uri via) : base (factory, address, via) { this.info = info; }
public OutputChannelBase(ChannelFactoryBase factory) : base(factory) { this.channel_factory = factory; }
public NamedPipeRequestChannel (ChannelFactoryBase factory, MessageEncoder encoder, EndpointAddress address, Uri via) : base (factory, address, via) { this.Encoder = encoder; }
public RequestChannelBase (ChannelFactoryBase factory) : base (factory) { this.channel_factory = factory; }