using System; using System.Collections.Generic; using TGS.Interface.Components; namespace TGS.Interface { /// /// Wrapper representing a /// public interface IServer { /// /// The of the /// Version Version { get; } /// /// Get the s the contains that the current user can access and connect to /// IEnumerable Instances { get; } /// /// The component. Will be if the connected user is not an administrator of the /// ITGInstanceManager InstanceManager { get; } /// /// The component. Will be if the connected user is not an administrator of the /// ITGSService Management { get; } /// /// Gets the specified without connectivity checks /// /// The name of the to get /// The named on success, on failure IInstance GetInstance(string name); /// /// Rebuilds the internal cached list /// void RebuildInstanceList(); } }