Esempio n. 1
0
 public SupportingTokenChannel(ChannelManagerBase manager, TChannel innerChannel, SupportingTokenSecurityTokenResolver tokenResolver, ProtocolVersion protocolVersion) : base(manager)
 {
     this.innerChannel    = innerChannel;
     this.tokenResolver   = tokenResolver;
     this.protocolVersion = protocolVersion;
 }
 protected ProtoBufMetaDataChannelBase(ChannelManagerBase parent,
                                       IChannel innerChannel)
     : base(parent)
 {
     _innerChannel = innerChannel;
 }
Esempio n. 3
0
 protected RabbitMqChannelBase(ChannelManagerBase parent) : base(parent)
 {
     Connection = new ConnectionFactory().CreateConnection();
     Model      = Connection.CreateModel();
 }
 internal RequestSessionChannel(ChannelManagerBase factory, EndpointAddress remoteAddress)
     : base(factory, remoteAddress, null)
 {
 }
 public SizedTcpDuplexServerChannel(MessageEncoder messageEncoder, BufferManager bufferManager, EndpointAddress localAddress, Socket dataSocket, ChannelManagerBase channelManager)
     : base(messageEncoder, bufferManager, channelManager, localAddress, null, null)
 {
     this.InitializeSocket(dataSocket);
 }
Esempio n. 6
0
 protected SecurityChannel(ChannelManagerBase channelManager, TChannel innerChannel)
     : this(channelManager, innerChannel, null)
 {
 }
Esempio n. 7
0
 protected SimpleChannelBase(ChannelManagerBase channelManager, ChannelBase innerChannel)
     : base(channelManager)
 {
     this.InnerChannel = innerChannel;
 }
Esempio n. 8
0
 public InputChannel(ChannelManagerBase channelManager, EndpointAddress localAddress) : base(channelManager)
 {
     this.localAddress = localAddress;
 }
Esempio n. 9
0
 public RequestInterceptorReplyChannelBase(ChannelManagerBase channelManager, TChannel inner, Collection <RequestInterceptor> interceptors)
     : base(channelManager)
 {
     this.inner        = inner;
     this.interceptors = interceptors;
 }
Esempio n. 10
0
 public MyReplyChannel(ChannelManagerBase channelManager, IReplyChannel innerChannel)
     : base(channelManager)
 {
     this.InnerChannel = innerChannel;
 }
 public MockReplyChannel(ChannelManagerBase channelManager)
     : base(channelManager)
 {
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 /// <param name="channelManager"></param>
 protected AsyncReplyChannelBase(ChannelManagerBase channelManager) :
     base(channelManager)
 {
 }
        public WebSocketClientChannel(MessageEncoder encoder, BufferManager bufferManager, ChannelManagerBase channelManager,
                                      WebSocket wsClient, EndpointAddress remoteAddress, Uri via)
            : base(channelManager)
        {
            this.encoder       = encoder;
            this.bufferManager = bufferManager;

            this.wsClient      = wsClient;
            this.remoteAddress = remoteAddress;
            this.via           = via;

            this.wsClient.Closed          += wsClient_Closed;
            this.wsClient.DataReceived    += wsClient_DataReceived;
            this.wsClient.MessageReceived += wsClient_MessageReceived;
            this.wsClient.Error           += wsClient_Error;
            this.wsClient.Opened          += wsClient_Opened;

            this.Session = new ConnectionDuplexSession();
        }
Esempio n. 14
0
 public ZMQInputChannel(ChannelManagerBase channelManager, BindingContext bindingContext, Context context, Socket socket, EndpointAddress address, SocketMode socketMode)
     : base(channelManager, bindingContext, context, socket, socketMode)
 {
     _address = address;
 }
 public ConnectionOrientedTransportReplyChannel(ChannelManagerBase channelManager, EndpointAddress localAddress) : base(channelManager, localAddress)
 {
 }
Esempio n. 16
0
 public RequestInterceptorReplyChannel(ChannelManagerBase cmb, IReplyChannel inner, Collection <RequestInterceptor> interceptors)
     : base(cmb, inner, interceptors)
 {
 }
 public ServerTcpDuplexSessionChannel(MessageEncoderFactory messageEncoderFactory, BufferManager bufferManager,
                                      Socket socket, EndpointAddress localAddress, ChannelManagerBase channelManager)
     : base(messageEncoderFactory, bufferManager, WseTcpDuplexSessionChannel.AnonymousAddress, localAddress,
            WseTcpDuplexSessionChannel.AnonymousAddress.Uri, channelManager)
 {
     base.InitializeSocket(socket);
 }
Esempio n. 18
0
 public RequestInterceptorReplySessionChannel(ChannelManagerBase cmb, IReplySessionChannel inner, Collection <RequestInterceptor> interceptors)
     : base(cmb, inner, interceptors)
 {
     this.inner = inner;
 }
Esempio n. 19
0
 protected SecurityChannel(ChannelManagerBase channelManager, TChannel innerChannel, SecurityProtocol securityProtocol)
     : base(channelManager, innerChannel)
 {
     _securityProtocol = securityProtocol;
 }
Esempio n. 20
0
 public SimpleRequestChannel(ChannelManagerBase channelManager, IRequestChannel innerChannel) : base(channelManager)
 {
     _innerChannel = innerChannel;
 }
Esempio n. 21
0
 public CustomHeaderChannel(ChannelManagerBase channelManager, IRequestChannel innerChannel, IClientCustomHeader customHeader)
     : base(channelManager)
 {
     this.m_innerChannel = innerChannel;
     this.m_customHeader = customHeader;
 }
 internal OutputChannelBase(ChannelManagerBase factory, EndpointAddress remoteAddress, Uri via)
     : base(factory)
 {
     _remoteAddress = remoteAddress;
     _via           = via;
 }
Esempio n. 23
0
 public InputChannelAcceptor(ChannelManagerBase channelManager, Func <Exception> pendingExceptionGenerator) : base(channelManager, pendingExceptionGenerator)
 {
 }
 public SimpleDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel)
     : base(channelManager, (ChannelBase)innerChannel)
 {
     this.Print("SimpleDuplexSessionChannel()");
 }
Esempio n. 25
0
 protected ChannelAcceptor(ChannelManagerBase channelManager)
 {
     _channelManager = channelManager;
 }
Esempio n. 26
0
 public SupportingTokenDuplexChannel(ChannelManagerBase manager, IDuplexChannel innerChannel, SupportingTokenSecurityTokenResolver tokenResolver, ProtocolVersion protocolVersion) : base(manager, innerChannel, tokenResolver, protocolVersion)
 {
 }
Esempio n. 27
0
 public ZMQOutputChannel(ChannelManagerBase channelManager, BindingContext context, Socket socket, SocketMode socketMode, EndpointAddress remoteAddress, Uri via)
     : base(channelManager, context, socket, socketMode)
 {
     _via           = via;
     _remoteAddress = remoteAddress;
 }
 public ProtoBufMetaDataRequestChannel(ChannelManagerBase parent, IRequestChannel innerChannel) :
     base(parent, innerChannel)
 {
     _innerChannel = innerChannel;
 }
Esempio n. 29
0
 public ServerDuplexSessionChannel(MessageEncoderFactory messageEncoderFactory, BufferManager bufferManager, int maxBufferSize,
                                   IAsyncDvcChannel socket, EndpointAddress localAddress, ChannelManagerBase channelManager)
     : base(messageEncoderFactory, bufferManager, maxBufferSize, AnonymousAddress, localAddress,
            AnonymousAddress.Uri, channelManager)
 {
     base.InitializeSocket(socket);
 }
 public OAuthInterceptorChannel(ChannelManagerBase channelManager, IRequestChannel innerChannel)
     : base(channelManager)
 {
     this.innerChannel = innerChannel;
 }