C# 클래스 OpenHome.Net.Device.Providers.DvProviderOpenhomeOrgSubscriptionLongPoll1

Provider for the openhome.org:SubscriptionLongPoll:1 UPnP service
상속: DvProvider, IDisposable, IDvProviderOpenhomeOrgSubscriptionLongPoll1
파일 보기 프로젝트 열기: openhome/ohNet 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

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

보호된 메소드들

메소드 설명
DvProviderOpenhomeOrgSubscriptionLongPoll1 ( DvDevice aDevice ) : System

Constructor

EnableActionGetPropertyUpdates ( ) : void

Signal that the action GetPropertyUpdates is supported.

The action's availability will be published in the device's service.xml. GetPropertyUpdates must be overridden if this is called.

EnableActionRenew ( ) : void

Signal that the action Renew is supported.

The action's availability will be published in the device's service.xml. Renew must be overridden if this is called.

EnableActionSubscribe ( ) : void

Signal that the action Subscribe is supported.

The action's availability will be published in the device's service.xml. Subscribe must be overridden if this is called.

EnableActionUnsubscribe ( ) : void

Signal that the action Unsubscribe is supported.

The action's availability will be published in the device's service.xml. Unsubscribe must be overridden if this is called.

GetPropertyUpdates ( IDvInvocation aInvocation, string aClientId, string &aUpdates ) : void

GetPropertyUpdates action.

Will be called when the device stack receives an invocation of the GetPropertyUpdates action for the owning device. Must be implemented iff EnableActionGetPropertyUpdates was called.

Renew ( IDvInvocation aInvocation, string aSid, uint aRequestedDuration, uint &aDuration ) : void

Renew action.

Will be called when the device stack receives an invocation of the Renew action for the owning device. Must be implemented iff EnableActionRenew was called.

Subscribe ( IDvInvocation aInvocation, string aClientId, string aUdn, string aService, uint aRequestedDuration, string &aSid, uint &aDuration ) : void

Subscribe action.

Will be called when the device stack receives an invocation of the Subscribe action for the owning device. Must be implemented iff EnableActionSubscribe was called.

Unsubscribe ( IDvInvocation aInvocation, string aSid ) : void

Unsubscribe action.

Will be called when the device stack receives an invocation of the Unsubscribe action for the owning device. Must be implemented iff EnableActionUnsubscribe was called.

비공개 메소드들

메소드 설명
DoGetPropertyUpdates ( IntPtr aPtr, IntPtr aInvocation ) : int
DoRenew ( IntPtr aPtr, IntPtr aInvocation ) : int
DoSubscribe ( IntPtr aPtr, IntPtr aInvocation ) : int
DoUnsubscribe ( IntPtr aPtr, IntPtr aInvocation ) : int

메소드 상세

Dispose() 공개 메소드

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

DvProviderOpenhomeOrgSubscriptionLongPoll1() 보호된 메소드

Constructor
protected DvProviderOpenhomeOrgSubscriptionLongPoll1 ( DvDevice aDevice ) : System
aDevice DvDevice Device which owns this provider
리턴 System

EnableActionGetPropertyUpdates() 보호된 메소드

Signal that the action GetPropertyUpdates is supported.
The action's availability will be published in the device's service.xml. GetPropertyUpdates must be overridden if this is called.
protected EnableActionGetPropertyUpdates ( ) : void
리턴 void

EnableActionRenew() 보호된 메소드

Signal that the action Renew is supported.
The action's availability will be published in the device's service.xml. Renew must be overridden if this is called.
protected EnableActionRenew ( ) : void
리턴 void

EnableActionSubscribe() 보호된 메소드

Signal that the action Subscribe is supported.
The action's availability will be published in the device's service.xml. Subscribe must be overridden if this is called.
protected EnableActionSubscribe ( ) : void
리턴 void

EnableActionUnsubscribe() 보호된 메소드

Signal that the action Unsubscribe is supported.
The action's availability will be published in the device's service.xml. Unsubscribe must be overridden if this is called.
protected EnableActionUnsubscribe ( ) : void
리턴 void

GetPropertyUpdates() 보호된 메소드

GetPropertyUpdates action.
Will be called when the device stack receives an invocation of the GetPropertyUpdates action for the owning device. Must be implemented iff EnableActionGetPropertyUpdates was called.
protected GetPropertyUpdates ( IDvInvocation aInvocation, string aClientId, string &aUpdates ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aClientId string
aUpdates string
리턴 void

Renew() 보호된 메소드

Renew action.
Will be called when the device stack receives an invocation of the Renew action for the owning device. Must be implemented iff EnableActionRenew was called.
protected Renew ( IDvInvocation aInvocation, string aSid, uint aRequestedDuration, uint &aDuration ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aSid string
aRequestedDuration uint
aDuration uint
리턴 void

Subscribe() 보호된 메소드

Subscribe action.
Will be called when the device stack receives an invocation of the Subscribe action for the owning device. Must be implemented iff EnableActionSubscribe was called.
protected Subscribe ( IDvInvocation aInvocation, string aClientId, string aUdn, string aService, uint aRequestedDuration, string &aSid, uint &aDuration ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aClientId string
aUdn string
aService string
aRequestedDuration uint
aSid string
aDuration uint
리턴 void

Unsubscribe() 보호된 메소드

Unsubscribe action.
Will be called when the device stack receives an invocation of the Unsubscribe action for the owning device. Must be implemented iff EnableActionUnsubscribe was called.
protected Unsubscribe ( IDvInvocation aInvocation, string aSid ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aSid string
리턴 void