C# 클래스 OpenHome.Net.ControlPoint.Proxies.CpProxyOpenhomeOrgSubscriptionLongPoll1

Proxy for the openhome.org:SubscriptionLongPoll:1 UPnP service
상속: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyOpenhomeOrgSubscriptionLongPoll1
파일 보기 프로젝트 열기: openhome/ohNet 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

BeginGetPropertyUpdates() 공개 메소드

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
리턴 void

BeginRenew() 공개 메소드

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
리턴 void

BeginSubscribe() 공개 메소드

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
리턴 void

BeginUnsubscribe() 공개 메소드

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
리턴 void

CpProxyOpenhomeOrgSubscriptionLongPoll1() 공개 메소드

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
리턴 System

Dispose() 공개 메소드

Must be called for each class instance. Must be called before Core.Library.Close().
public Dispose ( ) : void
리턴 void

EndGetPropertyUpdates() 공개 메소드

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
리턴 void

EndRenew() 공개 메소드

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
리턴 void

EndSubscribe() 공개 메소드

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
리턴 void

EndUnsubscribe() 공개 메소드

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
리턴 void

SyncGetPropertyUpdates() 공개 메소드

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
리턴 void

SyncRenew() 공개 메소드

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
리턴 void

SyncSubscribe() 공개 메소드

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
리턴 void

SyncUnsubscribe() 공개 메소드

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
리턴 void