C# Класс OpenHome.Net.ControlPoint.Proxies.CpProxyRaumfeldComConfigService1

Proxy for the raumfeld.com:ConfigService:1 UPnP service
Наследование: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyRaumfeldComConfigService1
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BeginGetDevice ( String aService, CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetDevice().

BeginGetPreferences ( String aPublicKey, CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetPreferences().

BeginGetPublicKey ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetPublicKey().

BeginGetRevision ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetRevision().

BeginSetPreferences ( String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict, CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndSetPreferences().

CpProxyRaumfeldComConfigService1 ( CpDevice aDevice ) : System

Constructor

Use CpProxy::[Un]Subscribe() to enable/disable querying of state variable and reporting of their changes.

Dispose ( ) : void

Must be called for each class instance. Must be called before Core.Library.Close().

EndGetDevice ( IntPtr aAsyncHandle, String &aUniqueDeviceName ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndGetPreferences ( IntPtr aAsyncHandle, String &aPreferences, uint &aRevision ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndGetPublicKey ( IntPtr aAsyncHandle, String &aKey ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndGetRevision ( IntPtr aAsyncHandle, uint &aRevision ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndSetPreferences ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

PropertyARG_TYPE_OnConflict ( ) : String

Query the value of the ARG_TYPE_OnConflict property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyLastChange ( ) : String

Query the value of the LastChange property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyRevision ( ) : uint

Query the value of the Revision property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

SetPropertyARG_TYPE_OnConflictChanged ( System aARG_TYPE_OnConflictChanged ) : void

Set a delegate to be run when the ARG_TYPE_OnConflict state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.

SetPropertyLastChangeChanged ( System aLastChangeChanged ) : void

Set a delegate to be run when the LastChange state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.

SetPropertyRevisionChanged ( System aRevisionChanged ) : void

Set a delegate to be run when the Revision state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.

SyncGetDevice ( String aService, String &aUniqueDeviceName ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncGetPreferences ( String aPublicKey, String &aPreferences, uint &aRevision ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncGetPublicKey ( String &aKey ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncGetRevision ( uint &aRevision ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncSetPreferences ( String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

Приватные методы

Метод Описание
ARG_TYPE_OnConflictPropertyChanged ( ) : void
LastChangePropertyChanged ( ) : void
RevisionPropertyChanged ( ) : void

Описание методов

BeginGetDevice() публичный Метод

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetDevice().
public BeginGetDevice ( String aService, CallbackAsyncComplete aCallback ) : void
aService String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

BeginGetPreferences() публичный Метод

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetPreferences().
public BeginGetPreferences ( String aPublicKey, CallbackAsyncComplete aCallback ) : void
aPublicKey String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

BeginGetPublicKey() публичный Метод

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetPublicKey().
public BeginGetPublicKey ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

BeginGetRevision() публичный Метод

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndGetRevision().
public BeginGetRevision ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

BeginSetPreferences() публичный Метод

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndSetPreferences().
public BeginSetPreferences ( String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict, CallbackAsyncComplete aCallback ) : void
aPreferences String
aLeastCommonChangedNode String
aExpectedRevision uint
aOnConflict String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

CpProxyRaumfeldComConfigService1() публичный Метод

Constructor
Use CpProxy::[Un]Subscribe() to enable/disable querying of state variable and reporting of their changes.
public CpProxyRaumfeldComConfigService1 ( CpDevice aDevice ) : System
aDevice OpenHome.Net.ControlPoint.CpDevice The device to use
Результат System

Dispose() публичный Метод

Must be called for each class instance. Must be called before Core.Library.Close().
public Dispose ( ) : void
Результат void

EndGetDevice() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetDevice ( IntPtr aAsyncHandle, String &aUniqueDeviceName ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aUniqueDeviceName String
Результат void

EndGetPreferences() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetPreferences ( IntPtr aAsyncHandle, String &aPreferences, uint &aRevision ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aPreferences String
aRevision uint
Результат void

EndGetPublicKey() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetPublicKey ( IntPtr aAsyncHandle, String &aKey ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aKey String
Результат void

EndGetRevision() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetRevision ( IntPtr aAsyncHandle, uint &aRevision ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aRevision uint
Результат void

EndSetPreferences() публичный Метод

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndSetPreferences ( IntPtr aAsyncHandle ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
Результат void

PropertyARG_TYPE_OnConflict() публичный Метод

Query the value of the ARG_TYPE_OnConflict property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyARG_TYPE_OnConflict ( ) : String
Результат String

PropertyLastChange() публичный Метод

Query the value of the LastChange property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyLastChange ( ) : String
Результат String

PropertyRevision() публичный Метод

Query the value of the Revision property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyRevision ( ) : uint
Результат uint

SetPropertyARG_TYPE_OnConflictChanged() публичный Метод

Set a delegate to be run when the ARG_TYPE_OnConflict state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.
public SetPropertyARG_TYPE_OnConflictChanged ( System aARG_TYPE_OnConflictChanged ) : void
aARG_TYPE_OnConflictChanged System The delegate to run when the state variable changes
Результат void

SetPropertyLastChangeChanged() публичный Метод

Set a delegate to be run when the LastChange state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.
public SetPropertyLastChangeChanged ( System aLastChangeChanged ) : void
aLastChangeChanged System The delegate to run when the state variable changes
Результат void

SetPropertyRevisionChanged() публичный Метод

Set a delegate to be run when the Revision state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyRaumfeldComConfigService1 instance will not overlap.
public SetPropertyRevisionChanged ( System aRevisionChanged ) : void
aRevisionChanged System The delegate to run when the state variable changes
Результат void

SyncGetDevice() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetDevice ( String aService, String &aUniqueDeviceName ) : void
aService String
aUniqueDeviceName String
Результат void

SyncGetPreferences() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetPreferences ( String aPublicKey, String &aPreferences, uint &aRevision ) : void
aPublicKey String
aPreferences String
aRevision uint
Результат void

SyncGetPublicKey() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetPublicKey ( String &aKey ) : void
aKey String
Результат void

SyncGetRevision() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetRevision ( uint &aRevision ) : void
aRevision uint
Результат void

SyncSetPreferences() публичный Метод

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSetPreferences ( String aPreferences, String aLeastCommonChangedNode, uint aExpectedRevision, String aOnConflict ) : void
aPreferences String
aLeastCommonChangedNode String
aExpectedRevision uint
aOnConflict String
Результат void