Пример #1
0
        public XConnection(string ipAddress, int port, string userName, string password)
        {
            var settings = new XSettings(ipAddress, port, userName, password);
            var client   = new XClient(settings);

            XHelpers.Settings = settings;
            AudioLibrary      = new XAudioLibrary(client);
            VideoLibrary      = new XVideoLibrary(client);
            AudioPlayer       = new XAudioPlayer(client);
            VirtualRemote     = new XVirtualRemote(settings);
        }
Пример #2
0
 public XConnection(string ipAddress, int port, string userName, string password)
 {
     var settings = new XSettings(ipAddress, port, userName, password);
     var client = new XClient(settings);
     Client = client;
     XHelpers.Settings = settings;
     AudioLibrary = new XAudioLibrary(client);
     VideoLibrary = new XVideoLibrary(client);
     AudioPlayer = new XAudioPlayer(client);
     VirtualRemote = new XVirtualRemote(settings);
     System = new XSystem(client);
     JsonRpc = new XJsonRpc(client);
     Input = new XInput(client);
     // new for Eden
     //Player = new XPlayer(client);
 }
Пример #3
0
 public XVirtualRemote(XSettings settings)
 {
     _Settings = settings;
 }
Пример #4
0
 public XClient(XSettings settings)
 {
     _Settings = settings;
 }
Пример #5
0
 public XClient(XSettings settings)
 {
     mSettings = settings;
 }
Пример #6
0
 public XVirtualRemote(XSettings settings)
 {
     _Settings = settings;
 }