add connection manager interface

This commit is contained in:
Luke Pulverenti
2014-10-02 23:48:59 -04:00
parent cf745bb888
commit cd8db6fa54
40 changed files with 240 additions and 23 deletions

View File

@@ -0,0 +1,23 @@

namespace MediaBrowser.Model.ApiClient
{
public class ConnectionResult
{
public ConnectionState State { get; set; }
public ServerInfo ServerInfo { get; set; }
public IApiClient ApiClient { get; set; }
}
public enum ConnectionState
{
Unavailable = 1,
ServerSignIn = 2,
SignedIn = 3
}
public enum ConnectionMode
{
Local = 1,
Remote = 2
}
}