Beispiel #1
0
 public NodeGateway(INodeMessageChannel nodeMessageChannel, IMessageHandlerFactory handlerFactory)
 {
     _nodeMessageChannel = nodeMessageChannel;
     _handlerFactory     = handlerFactory;
 }
        public NodeGateway CreateGateway(INodeMessageChannel channel)
        {
            var handlerFactory = _ioCcontainer.Resolve <IMessageHandlerFactory>();

            return(new NodeGateway(channel, handlerFactory));
        }