C# Class OpenHome.Net.ControlPoint.Proxies.CpProxyRaumfeldComConfigService1

Proxy for the raumfeld.com:ConfigService:1 UPnP service
Inheritance: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyRaumfeldComConfigService1
Afficher le fichier Open project: stoennies/raumwiese Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ARG_TYPE_OnConflictPropertyChanged ( ) : void
LastChangePropertyChanged ( ) : void
RevisionPropertyChanged ( ) : void

Method Details

BeginGetDevice() public méthode

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
Résultat void

BeginGetPreferences() public méthode

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
Résultat void

BeginGetPublicKey() public méthode

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
Résultat void

BeginGetRevision() public méthode

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
Résultat void

BeginSetPreferences() public méthode

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
Résultat void

CpProxyRaumfeldComConfigService1() public méthode

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
Résultat System

Dispose() public méthode

Must be called for each class instance. Must be called before Core.Library.Close().
public Dispose ( ) : void
Résultat void

EndGetDevice() public méthode

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
Résultat void

EndGetPreferences() public méthode

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
Résultat void

EndGetPublicKey() public méthode

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
Résultat void

EndGetRevision() public méthode

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
Résultat void

EndSetPreferences() public méthode

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
Résultat void

PropertyARG_TYPE_OnConflict() public méthode

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
Résultat String

PropertyLastChange() public méthode

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
Résultat String

PropertyRevision() public méthode

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
Résultat uint

SetPropertyARG_TYPE_OnConflictChanged() public méthode

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
Résultat void

SetPropertyLastChangeChanged() public méthode

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
Résultat void

SetPropertyRevisionChanged() public méthode

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
Résultat void

SyncGetDevice() public méthode

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
Résultat void

SyncGetPreferences() public méthode

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
Résultat void

SyncGetPublicKey() public méthode

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
Résultat void

SyncGetRevision() public méthode

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
Résultat void

SyncSetPreferences() public méthode

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
Résultat void