private void InitializeServer() { _server = new TcpServer(config.UserName, config.Password, config.Port); _server.OutStream = _writer; pluginServices = new ServerPluginServices(); pluginServices.FindPlugins(_server); _server.RegisterHandler("Server", new ServerHandler(_server, pluginServices, this)); RefreshPluginListSafely(); }
public ServerHandler(IXmlRpcServer server, ServerPluginServices pluginServices, IPluginList pluginList) { PluginServices = pluginServices; Server = server; PluginList = pluginList; }