예제 #1
0
        public IHub <T> Deploy(IServiceNode <T> serviceNode)
        {
            _services.Add(serviceNode);

            if (_state == State.Started)
            {
                serviceNode.Start(_messageBus);
            }

            return(this);
        }