Proxy for the openhome.org:TestBasic:1 UPnP service
Inheritance: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyOpenhomeOrgTestBasic1
Exemplo n.º 1
0
 private static void ActionThread(object aArgs)
 {
     ThreadArgs args = (ThreadArgs)aArgs;
     using (CpProxyOpenhomeOrgTestBasic1 proxy = new CpProxyOpenhomeOrgTestBasic1(args.Device))
     {
         uint val;
         do
         {
             proxy.SyncGetUint(out val);
         } while (args.IncrementCount());
     }
 }
Exemplo n.º 2
0
 public SyncIncrementOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 3
0
 public SyncShutdownOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 4
0
 public SyncWriteFileOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 5
0
 public SyncToggleBoolOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 6
0
 public SyncGetBinaryOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 7
0
 public SyncGetStringOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 8
0
 public SyncGetMultipleOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 9
0
 public SyncSetIntOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 10
0
 public SyncEchoAllowedValueStringOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 11
0
 public SyncEchoAllowedRangeUintOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
Exemplo n.º 12
0
 private static void SubscriptionThread(object aArgs)
 {
     ThreadArgs args = (ThreadArgs)aArgs;
     Semaphore sem = new Semaphore(0, 1);
     do
     {
         CpProxyOpenhomeOrgTestBasic1 proxy = new CpProxyOpenhomeOrgTestBasic1(args.Device);
         proxy.SetPropertyChanged(() => sem.Release());
         proxy.Subscribe();
         sem.WaitOne();
         proxy.Dispose();
     } while (args.IncrementCount());
 }