Proxy for the openhome.org:TestBasic:1 UPnP service
상속: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyOpenhomeOrgTestBasic1
예제 #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());
     }
 }
예제 #2
0
 public SyncIncrementOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #3
0
 public SyncShutdownOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #4
0
 public SyncWriteFileOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #5
0
 public SyncToggleBoolOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #6
0
 public SyncGetBinaryOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #7
0
 public SyncGetStringOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #8
0
 public SyncGetMultipleOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #9
0
 public SyncSetIntOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #10
0
 public SyncEchoAllowedValueStringOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #11
0
 public SyncEchoAllowedRangeUintOpenhomeOrgTestBasic1(CpProxyOpenhomeOrgTestBasic1 aProxy)
 {
     iService = aProxy;
 }
예제 #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());
 }