public ServerManager(ServerPrx server, string estatechannel)
        {
            m_server = server;

            // Try to start the server
            try {
                m_server.start();
            } catch(Exception) {
                m_log.DebugFormat("[MurmurVoice]: Server already started.");
            }

            // Create the Agent Manager
            m_agent_manager = new AgentManager(m_server);

            // Create the Channel Manager
            m_channel_manager = new ChannelManager(m_server, estatechannel);
        }
Example #2
0
        public ServerManager(ServerPrx server, string channel)
        {
            m_server = server;

            // Create the Agent Manager
            m_agent_manager = new AgentManager(m_server);
            m_channel_manager = new ChannelManager(m_server, channel);
        }