public SecurityDuplexSessionChannel(ChannelListenerBase listener, IChannel innerChannel, RecipientMessageSecurityBindingSupport security) : base(listener) { this.channel = innerChannel; session = new SecurityDuplexSession(this); InitializeSecurityFunctionality(security); }
public TcpDuplexSessionChannel (ChannelListenerBase listener, TcpChannelInfo info, TcpClient client) : base (listener) { is_service_side = true; this.client = client; this.info = info; counterpart_address = GetEndpointAddressFromTcpClient (client); }
public TcpDuplexSessionChannel(ChannelListenerBase listener, TcpChannelInfo info, TcpClient client) : base(listener) { is_service_side = true; this.client = client; this.info = info; counterpart_address = GetEndpointAddressFromTcpClient(client); }
protected override void ReleaseCore() { this.listener = 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; }
// FIXME: this is invoked inconsistently between SecurityReplyChannel and SecurityDuplexSessionChannel on when to do it. public void Prepare(ChannelListenerBase listener, Uri listenUri) { this.listener = listener; this.listen_uri = listenUri; PrepareAuthenticator(); // This check is almost extra, though it is needed // to check correct signing token existence. // // Not sure if it is limited to this condition, but // Ssl parameters do not support token provider and // still do not fail. X509 parameters do fail. // // FIXME: as AsymmetricSecurityBindingElementTest // .ServiceRecipientHasNoKeys() implies, it should be // the recipient's parameters that is used. However // such changes will break some of existing tests... if (InitiatorParameters.InternalHasAsymmetricKey && EncryptionToken == null) { throw new Exception("INTERNAL ERROR"); } }
/// <summary> /// Initializes a new instance of the <see cref="NmsInputChannel"/> class. /// </summary> /// <param name="factory">The factory that was used to create the channel.</param> /// <param name="localAddress">The local address of the channel.</param> internal NmsInputChannel(ChannelListenerBase factory, EndpointAddress localAddress) : base(factory, localAddress) { }
public TcpReplyChannel (ChannelListenerBase listener, TcpChannelInfo info, TcpClient client) : base (listener) { this.client = client; this.info = info; }
protected override void ReleaseCore () { this.listener = 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; }
// FIXME: this is invoked inconsistently between SecurityReplyChannel and SecurityDuplexSessionChannel on when to do it. public void Prepare (ChannelListenerBase listener, Uri listenUri) { this.listener = listener; this.listen_uri = listenUri; PrepareAuthenticator (); // This check is almost extra, though it is needed // to check correct signing token existence. // // Not sure if it is limited to this condition, but // Ssl parameters do not support token provider and // still do not fail. X509 parameters do fail. // // FIXME: as AsymmetricSecurityBindingElementTest // .ServiceRecipientHasNoKeys() implies, it should be // the recipient's parameters that is used. However // such changes will break some of existing tests... if (InitiatorParameters.InternalHasAsymmetricKey && EncryptionToken == null) throw new Exception ("INTERNAL ERROR"); }
internal InputSessionChannel(ChannelListenerBase factory, EndpointAddress localAddress) : base(factory, localAddress) { }
public ReplyChannelBase (ChannelListenerBase listener) : base (listener) { this.channel_listener = listener; }
/// <summary> /// Initializes a new instance of the <see cref="NmsInputQueueChannelBase<T>"/> class. /// </summary> /// <param name="factory">The factory that was used to create the channel.</param> /// <param name="localAddress">The local address of the channel.</param> public NmsInputQueueChannelBase(ChannelListenerBase factory, EndpointAddress localAddress) : base(factory) { _localAddress = localAddress; _messageQueue = new InputQueue <T>(); }
public TcpReplyChannel(ChannelListenerBase listener, TcpChannelInfo info, TcpClient client) : base(listener) { this.client = client; this.info = info; }
internal ReplySessionChannel(ChannelListenerBase factory, EndpointAddress localAddress) : base(factory, localAddress) { }
public SecurityDuplexSessionChannel (ChannelListenerBase listener, IChannel innerChannel, RecipientMessageSecurityBindingSupport security) : base (listener) { this.channel = innerChannel; session = new SecurityDuplexSession (this); InitializeSecurityFunctionality (security); }
public NamedPipeReplyChannel (ChannelListenerBase listener, MessageEncoder encoder, NamedPipeServerStream server) : base (listener) { this.server = server; this.Encoder = encoder; }
public ReplyChannelBase(ChannelListenerBase listener) : base(listener) { this.channel_listener = listener; }
public InputChannelBase (ChannelListenerBase listener) : base (listener) { this.channel_listener = listener; }