Beispiel #1
0
        public bool Initialize(IGenesisApplication app)
        {
            if (_hub != null)
                return false;

            _hub = new Hub();
            _hub.RegisterApplication(app);

            foreach (IChannel chan in _chans)
                ChannelServices.RegisterChannel(chan, false);
            RemotingServices.Marshal(_hub, ObjectName);

            return true;
        }