C# Класс OpenHome.Net.Device.Providers.DvProviderOpenhomeOrgSubscriptionLongPoll1

Provider for the openhome.org:SubscriptionLongPoll:1 UPnP service
Наследование: DvProvider, IDisposable, IDvProviderOpenhomeOrgSubscriptionLongPoll1
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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