Beispiel #1
0
        private ConcurrentDictionary <string, string> _actorKeys             = new ConcurrentDictionary <string, string>();              // ActorKey -> SessionKey

        public ActorListenerChannel(
            ActorIdentity localActor,
            ActorTransportListener localListener,
            ActorChannelConfiguration channelConfiguration)
        {
            if (localActor == null)
            {
                throw new ArgumentNullException("localActor");
            }
            if (localListener == null)
            {
                throw new ArgumentNullException("localListener");
            }
            if (channelConfiguration == null)
            {
                throw new ArgumentNullException("channelConfiguration");
            }

            _localActor           = localActor;
            _listener             = localListener;
            _channelConfiguration = channelConfiguration;
        }