public ReplyAuthenticationSessionAttacher(
     AuthenticationSessionCache cache,
     AuthenticatedServerRegistry registry)
     : base(cache, registry)
 {
     address = new ThreadLocal<EndpointAddress>();
 }
        internal PointToPointReceiveChannelBuilder(
            MessageReceiver messageReceiver, 
            ISerialiser serialiser, 
            AcknowledgementSender acknowledgementSender, 
            MessageHandlerRouter messageHandlerRouter,
            MessageCacheFactory messageCacheFactory, 
            ISystemTime systemTime, 
            ITaskRepeater taskRepeater, 
            ServerAddressRegistry serverAddressRegistry, 
            AuthenticationSessionCache authenticationSessionCache, 
            AuthenticatedServerRegistry authenticatedServerRegistry)
        {
            Contract.Requires(messageReceiver != null);
            Contract.Requires(serialiser != null);
            Contract.Requires(acknowledgementSender != null);
            Contract.Requires(messageHandlerRouter != null);
            Contract.Requires(messageCacheFactory != null);
            Contract.Requires(systemTime != null);
            Contract.Requires(taskRepeater != null);
            Contract.Requires(serverAddressRegistry != null);
            Contract.Requires(authenticationSessionCache != null);
            Contract.Requires(authenticatedServerRegistry != null);

            this.messageReceiver = messageReceiver;
            this.serialiser = serialiser;
            this.acknowledgementSender = acknowledgementSender;
            this.messageHandlerRouter = messageHandlerRouter;
            this.messageCacheFactory = messageCacheFactory;
            this.systemTime = systemTime;
            this.taskRepeater = taskRepeater;
            this.serverAddressRegistry = serverAddressRegistry;
            this.authenticationSessionCache = authenticationSessionCache;
            this.authenticatedServerRegistry = authenticatedServerRegistry;
        }
コード例 #3
0
        protected AuthenticationSessionAttacher(AuthenticationSessionCache cache, AuthenticatedServerRegistry registry)
        {
            Contract.Requires(cache != null);
            Contract.Requires(registry != null);

            this.cache = cache;
            this.registry = registry;
        }
 public SenderAuthenticationSessionAttacher(
     AuthenticationSessionCache cache, 
     AuthenticatedServerRegistry registry,
     EndpointAddress address) : base(cache, registry)
 {
     Contract.Requires(address != null);
     this.address = address;
 }
 public SenderAuthenticationSessionAttacherFactory(
     AuthenticationSessionCache cache,
     AuthenticatedServerRegistry registry)
 {
     this.cache = cache;
     this.registry = registry;
     Contract.Requires(cache != null);
     Contract.Requires(registry != null);
 }
コード例 #6
0
        internal RequestRecieveChannelBuilder(
            ReplyAddressLookup replyAddressLookup,
            ISerialiser serialiser,
            MessageHandlerRouter messageHandlerRouter,
            AcknowledgementSender acknowledgementSender,
            MessageCacheFactory messageCacheFactory,
            ISystemTime systemTime,
            ITaskRepeater taskRepeater,
            ServerAddressRegistry serverAddressRegistry,
            IMainThreadMarshaller mainThreadMarshaller,
            AuthenticationSessionCache authenticationSessionCache,
            AuthenticatedServerRegistry authenticatedServerRegistry,
            ReplyCorrelationLookup correlationLookup)
        {
            Contract.Requires(replyAddressLookup != null);
            Contract.Requires(serialiser != null);
            Contract.Requires(messageHandlerRouter != null);
            Contract.Requires(acknowledgementSender != null);
            Contract.Requires(messageCacheFactory != null);
            Contract.Requires(systemTime != null);
            Contract.Requires(taskRepeater != null);
            Contract.Requires(serverAddressRegistry != null);
            Contract.Requires(mainThreadMarshaller != null);
            Contract.Requires(authenticationSessionCache != null);
            Contract.Requires(authenticatedServerRegistry != null);
            Contract.Requires(correlationLookup != null);

            this.replyAddressLookup = replyAddressLookup;
            this.serialiser = serialiser;
            this.messageHandlerRouter = messageHandlerRouter;
            this.acknowledgementSender = acknowledgementSender;
            this.messageCacheFactory = messageCacheFactory;
            this.systemTime = systemTime;
            this.taskRepeater = taskRepeater;
            this.serverAddressRegistry = serverAddressRegistry;
            this.mainThreadMarshaller = mainThreadMarshaller;
            this.authenticationSessionCache = authenticationSessionCache;
            this.authenticatedServerRegistry = authenticatedServerRegistry;
            this.correlationLookup = correlationLookup;
        }
 SubscriptionRequestReceiveChannelBuilder(
     MessageReceiver messageReceiver, 
     AcknowledgementSender acknowledgementSender, 
     IPublisherRegistry publisherRegistry, 
     ServerAddressRegistry serverAddressRegistry, 
     AuthenticationSessionCache authenticationSessionCache, 
     AuthenticatedServerRegistry authenticatedServerRegistry)
 {
     Contract.Requires(messageReceiver != null);
     Contract.Requires(acknowledgementSender != null);
     Contract.Requires(publisherRegistry != null);
     Contract.Requires(serverAddressRegistry != null);
     Contract.Requires(authenticationSessionCache != null);
     Contract.Requires(authenticatedServerRegistry != null);
     
     this.messageReceiver = messageReceiver;
     this.acknowledgementSender = acknowledgementSender;
     this.publisherRegistry = publisherRegistry;
     this.serverAddressRegistry = serverAddressRegistry;
     this.authenticationSessionCache = authenticationSessionCache;
     this.authenticatedServerRegistry = authenticatedServerRegistry;
 }
 public SenderAuthenticationSessionVerifier(
     AuthenticationSessionCache cache, 
     AuthenticatedServerRegistry registry)
     : base(cache, registry)
 {
 }