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

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

공개 메소드들

메소드 설명
Dispose ( ) : void

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

EnablePropertyCurrentConnectionIDs ( ) : void

Enable the CurrentConnectionIDs property.

EnablePropertySinkProtocolInfo ( ) : void

Enable the SinkProtocolInfo property.

EnablePropertySourceProtocolInfo ( ) : void

Enable the SourceProtocolInfo property.

PropertyCurrentConnectionIDs ( ) : string

Get a copy of the value of the CurrentConnectionIDs property

Can only be called if EnablePropertyCurrentConnectionIDs has previously been called.

PropertySinkProtocolInfo ( ) : string

Get a copy of the value of the SinkProtocolInfo property

Can only be called if EnablePropertySinkProtocolInfo has previously been called.

PropertySourceProtocolInfo ( ) : string

Get a copy of the value of the SourceProtocolInfo property

Can only be called if EnablePropertySourceProtocolInfo has previously been called.

SetPropertyCurrentConnectionIDs ( string aValue ) : bool

Set the value of the CurrentConnectionIDs property

Can only be called if EnablePropertyCurrentConnectionIDs has previously been called.

SetPropertySinkProtocolInfo ( string aValue ) : bool

Set the value of the SinkProtocolInfo property

Can only be called if EnablePropertySinkProtocolInfo has previously been called.

SetPropertySourceProtocolInfo ( string aValue ) : bool

Set the value of the SourceProtocolInfo property

Can only be called if EnablePropertySourceProtocolInfo has previously been called.

보호된 메소드들

메소드 설명
ConnectionComplete ( IDvInvocation aInvocation, int aConnectionID ) : void

ConnectionComplete action.

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

DvProviderUpnpOrgConnectionManager1 ( DvDevice aDevice ) : System

Constructor

EnableActionConnectionComplete ( ) : void

Signal that the action ConnectionComplete is supported.

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

EnableActionGetCurrentConnectionIDs ( ) : void

Signal that the action GetCurrentConnectionIDs is supported.

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

EnableActionGetCurrentConnectionInfo ( ) : void

Signal that the action GetCurrentConnectionInfo is supported.

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

EnableActionGetProtocolInfo ( ) : void

Signal that the action GetProtocolInfo is supported.

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

EnableActionPrepareForConnection ( ) : void

Signal that the action PrepareForConnection is supported.

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

GetCurrentConnectionIDs ( IDvInvocation aInvocation, string &aConnectionIDs ) : void

GetCurrentConnectionIDs action.

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

GetCurrentConnectionInfo ( IDvInvocation aInvocation, int aConnectionID, int &aRcsID, int &aAVTransportID, string &aProtocolInfo, string &aPeerConnectionManager, int &aPeerConnectionID, string &aDirection, string &aStatus ) : void

GetCurrentConnectionInfo action.

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

GetProtocolInfo ( IDvInvocation aInvocation, string &aSource, string &aSink ) : void

GetProtocolInfo action.

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

PrepareForConnection ( IDvInvocation aInvocation, string aRemoteProtocolInfo, string aPeerConnectionManager, int aPeerConnectionID, string aDirection, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void

PrepareForConnection action.

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

비공개 메소드들

메소드 설명
DoConnectionComplete ( IntPtr aPtr, IntPtr aInvocation ) : int
DoGetCurrentConnectionIDs ( IntPtr aPtr, IntPtr aInvocation ) : int
DoGetCurrentConnectionInfo ( IntPtr aPtr, IntPtr aInvocation ) : int
DoGetProtocolInfo ( IntPtr aPtr, IntPtr aInvocation ) : int
DoPrepareForConnection ( IntPtr aPtr, IntPtr aInvocation ) : int

메소드 상세

ConnectionComplete() 보호된 메소드

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

Dispose() 공개 메소드

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

DvProviderUpnpOrgConnectionManager1() 보호된 메소드

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

EnableActionConnectionComplete() 보호된 메소드

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

EnableActionGetCurrentConnectionIDs() 보호된 메소드

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

EnableActionGetCurrentConnectionInfo() 보호된 메소드

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

EnableActionGetProtocolInfo() 보호된 메소드

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

EnableActionPrepareForConnection() 보호된 메소드

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

EnablePropertyCurrentConnectionIDs() 공개 메소드

Enable the CurrentConnectionIDs property.
public EnablePropertyCurrentConnectionIDs ( ) : void
리턴 void

EnablePropertySinkProtocolInfo() 공개 메소드

Enable the SinkProtocolInfo property.
public EnablePropertySinkProtocolInfo ( ) : void
리턴 void

EnablePropertySourceProtocolInfo() 공개 메소드

Enable the SourceProtocolInfo property.
public EnablePropertySourceProtocolInfo ( ) : void
리턴 void

GetCurrentConnectionIDs() 보호된 메소드

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

GetCurrentConnectionInfo() 보호된 메소드

GetCurrentConnectionInfo action.
Will be called when the device stack receives an invocation of the GetCurrentConnectionInfo action for the owning device. Must be implemented iff EnableActionGetCurrentConnectionInfo was called.
protected GetCurrentConnectionInfo ( IDvInvocation aInvocation, int aConnectionID, int &aRcsID, int &aAVTransportID, string &aProtocolInfo, string &aPeerConnectionManager, int &aPeerConnectionID, string &aDirection, string &aStatus ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aConnectionID int
aRcsID int
aAVTransportID int
aProtocolInfo string
aPeerConnectionManager string
aPeerConnectionID int
aDirection string
aStatus string
리턴 void

GetProtocolInfo() 보호된 메소드

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

PrepareForConnection() 보호된 메소드

PrepareForConnection action.
Will be called when the device stack receives an invocation of the PrepareForConnection action for the owning device. Must be implemented iff EnableActionPrepareForConnection was called.
protected PrepareForConnection ( IDvInvocation aInvocation, string aRemoteProtocolInfo, string aPeerConnectionManager, int aPeerConnectionID, string aDirection, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aRemoteProtocolInfo string
aPeerConnectionManager string
aPeerConnectionID int
aDirection string
aConnectionID int
aAVTransportID int
aRcsID int
리턴 void

PropertyCurrentConnectionIDs() 공개 메소드

Get a copy of the value of the CurrentConnectionIDs property
Can only be called if EnablePropertyCurrentConnectionIDs has previously been called.
public PropertyCurrentConnectionIDs ( ) : string
리턴 string

PropertySinkProtocolInfo() 공개 메소드

Get a copy of the value of the SinkProtocolInfo property
Can only be called if EnablePropertySinkProtocolInfo has previously been called.
public PropertySinkProtocolInfo ( ) : string
리턴 string

PropertySourceProtocolInfo() 공개 메소드

Get a copy of the value of the SourceProtocolInfo property
Can only be called if EnablePropertySourceProtocolInfo has previously been called.
public PropertySourceProtocolInfo ( ) : string
리턴 string

SetPropertyCurrentConnectionIDs() 공개 메소드

Set the value of the CurrentConnectionIDs property
Can only be called if EnablePropertyCurrentConnectionIDs has previously been called.
public SetPropertyCurrentConnectionIDs ( string aValue ) : bool
aValue string New value for the property
리턴 bool

SetPropertySinkProtocolInfo() 공개 메소드

Set the value of the SinkProtocolInfo property
Can only be called if EnablePropertySinkProtocolInfo has previously been called.
public SetPropertySinkProtocolInfo ( string aValue ) : bool
aValue string New value for the property
리턴 bool

SetPropertySourceProtocolInfo() 공개 메소드

Set the value of the SourceProtocolInfo property
Can only be called if EnablePropertySourceProtocolInfo has previously been called.
public SetPropertySourceProtocolInfo ( string aValue ) : bool
aValue string New value for the property
리턴 bool