public void ConnectServer(ServerInfo info, RomoteType type) { IRemote remote = Get(type); if (null == remote) { remote = RemoteFactory.Create(type); remote.CoreModules = base.CoreModules; Add(remote); } remote.Connect(info); }