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

Proxy for the openhome.org:SubscriptionLongPoll:1 UPnP service
Inheritance: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyOpenhomeOrgSubscriptionLongPoll1
Afficher le fichier Open project: openhome/ohNet Class Usage Examples

Méthodes publiques

Méthode Description
BeginGetPropertyUpdates ( String aClientId, 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 EndGetPropertyUpdates().

BeginRenew ( String aSid, uint aRequestedDuration, 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 EndRenew().

BeginSubscribe ( String aClientId, String aUdn, String aService, uint aRequestedDuration, 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 EndSubscribe().

BeginUnsubscribe ( String aSid, 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 EndUnsubscribe().

CpProxyOpenhomeOrgSubscriptionLongPoll1 ( ICpDevice 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().

EndGetPropertyUpdates ( IntPtr aAsyncHandle, String &aUpdates ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndRenew ( IntPtr aAsyncHandle, uint &aDuration ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndSubscribe ( IntPtr aAsyncHandle, String &aSid, uint &aDuration ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndUnsubscribe ( 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.

SyncGetPropertyUpdates ( String aClientId, String &aUpdates ) : void

Invoke the action synchronously

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

SyncRenew ( String aSid, uint aRequestedDuration, uint &aDuration ) : void

Invoke the action synchronously

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

SyncSubscribe ( String aClientId, String aUdn, String aService, uint aRequestedDuration, String &aSid, uint &aDuration ) : void

Invoke the action synchronously

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

SyncUnsubscribe ( String aSid ) : void

Invoke the action synchronously

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

Method Details

BeginGetPropertyUpdates() 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 EndGetPropertyUpdates().
public BeginGetPropertyUpdates ( String aClientId, CallbackAsyncComplete aCallback ) : void
aClientId String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Résultat void

BeginRenew() 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 EndRenew().
public BeginRenew ( String aSid, uint aRequestedDuration, CallbackAsyncComplete aCallback ) : void
aSid String
aRequestedDuration uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Résultat void

BeginSubscribe() 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 EndSubscribe().
public BeginSubscribe ( String aClientId, String aUdn, String aService, uint aRequestedDuration, CallbackAsyncComplete aCallback ) : void
aClientId String
aUdn String
aService String
aRequestedDuration uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Résultat void

BeginUnsubscribe() 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 EndUnsubscribe().
public BeginUnsubscribe ( String aSid, CallbackAsyncComplete aCallback ) : void
aSid String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Résultat void

CpProxyOpenhomeOrgSubscriptionLongPoll1() public méthode

Constructor
Use CpProxy::[Un]Subscribe() to enable/disable querying of state variable and reporting of their changes.
public CpProxyOpenhomeOrgSubscriptionLongPoll1 ( ICpDevice aDevice ) : System
aDevice ICpDevice 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

EndGetPropertyUpdates() 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 EndGetPropertyUpdates ( IntPtr aAsyncHandle, String &aUpdates ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aUpdates String
Résultat void

EndRenew() 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 EndRenew ( IntPtr aAsyncHandle, uint &aDuration ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aDuration uint
Résultat void

EndSubscribe() 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 EndSubscribe ( IntPtr aAsyncHandle, String &aSid, uint &aDuration ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aSid String
aDuration uint
Résultat void

EndUnsubscribe() 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 EndUnsubscribe ( IntPtr aAsyncHandle ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
Résultat void

SyncGetPropertyUpdates() public méthode

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetPropertyUpdates ( String aClientId, String &aUpdates ) : void
aClientId String
aUpdates String
Résultat void

SyncRenew() public méthode

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncRenew ( String aSid, uint aRequestedDuration, uint &aDuration ) : void
aSid String
aRequestedDuration uint
aDuration uint
Résultat void

SyncSubscribe() public méthode

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSubscribe ( String aClientId, String aUdn, String aService, uint aRequestedDuration, String &aSid, uint &aDuration ) : void
aClientId String
aUdn String
aService String
aRequestedDuration uint
aSid String
aDuration uint
Résultat void

SyncUnsubscribe() public méthode

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncUnsubscribe ( String aSid ) : void
aSid String
Résultat void