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

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

공개 메소드들

메소드 설명
BeginConnectionComplete ( int aConnectionID, 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 EndConnectionComplete().

BeginGetCurrentConnectionIDs ( 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 EndGetCurrentConnectionIDs().

BeginGetCurrentConnectionInfo ( int aConnectionID, 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 EndGetCurrentConnectionInfo().

BeginGetProtocolInfo ( 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 EndGetProtocolInfo().

BeginPrepareForConnection ( String aRemoteProtocolInfo, String aPeerConnectionManager, int aPeerConnectionID, String aDirection, 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 EndPrepareForConnection().

CpProxyUpnpOrgConnectionManager1 ( 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().

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

EndGetCurrentConnectionIDs ( IntPtr aAsyncHandle, String &aConnectionIDs ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetCurrentConnectionInfo ( IntPtr aAsyncHandle, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetProtocolInfo ( IntPtr aAsyncHandle, String &aSource, String &aSink ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndPrepareForConnection ( IntPtr aAsyncHandle, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

PropertyCurrentConnectionIDs ( ) : String

Query the value of the CurrentConnectionIDs property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertySinkProtocolInfo ( ) : String

Query the value of the SinkProtocolInfo property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertySourceProtocolInfo ( ) : String

Query the value of the SourceProtocolInfo property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

SetPropertyCurrentConnectionIDsChanged ( System aCurrentConnectionIDsChanged ) : void

Set a delegate to be run when the CurrentConnectionIDs state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.

SetPropertySinkProtocolInfoChanged ( System aSinkProtocolInfoChanged ) : void

Set a delegate to be run when the SinkProtocolInfo state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.

SetPropertySourceProtocolInfoChanged ( System aSourceProtocolInfoChanged ) : void

Set a delegate to be run when the SourceProtocolInfo state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.

SyncConnectionComplete ( int aConnectionID ) : void

Invoke the action synchronously

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

SyncGetCurrentConnectionIDs ( String &aConnectionIDs ) : void

Invoke the action synchronously

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

SyncGetCurrentConnectionInfo ( int aConnectionID, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void

Invoke the action synchronously

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

SyncGetProtocolInfo ( String &aSource, String &aSink ) : void

Invoke the action synchronously

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

SyncPrepareForConnection ( String aRemoteProtocolInfo, String aPeerConnectionManager, int aPeerConnectionID, String aDirection, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void

Invoke the action synchronously

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

비공개 메소드들

메소드 설명
CurrentConnectionIDsPropertyChanged ( ) : void
SinkProtocolInfoPropertyChanged ( ) : void
SourceProtocolInfoPropertyChanged ( ) : void

메소드 상세

BeginConnectionComplete() 공개 메소드

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 EndConnectionComplete().
public BeginConnectionComplete ( int aConnectionID, CallbackAsyncComplete aCallback ) : void
aConnectionID int
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
리턴 void

BeginGetCurrentConnectionIDs() 공개 메소드

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 EndGetCurrentConnectionIDs().
public BeginGetCurrentConnectionIDs ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
리턴 void

BeginGetCurrentConnectionInfo() 공개 메소드

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 EndGetCurrentConnectionInfo().
public BeginGetCurrentConnectionInfo ( int aConnectionID, CallbackAsyncComplete aCallback ) : void
aConnectionID int
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
리턴 void

BeginGetProtocolInfo() 공개 메소드

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 EndGetProtocolInfo().
public BeginGetProtocolInfo ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
리턴 void

BeginPrepareForConnection() 공개 메소드

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 EndPrepareForConnection().
public BeginPrepareForConnection ( String aRemoteProtocolInfo, String aPeerConnectionManager, int aPeerConnectionID, String aDirection, CallbackAsyncComplete aCallback ) : void
aRemoteProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
리턴 void

CpProxyUpnpOrgConnectionManager1() 공개 메소드

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

EndConnectionComplete() 공개 메소드

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndConnectionComplete ( IntPtr aAsyncHandle ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
리턴 void

EndGetCurrentConnectionIDs() 공개 메소드

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetCurrentConnectionIDs ( IntPtr aAsyncHandle, String &aConnectionIDs ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aConnectionIDs String
리턴 void

EndGetCurrentConnectionInfo() 공개 메소드

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetCurrentConnectionInfo ( IntPtr aAsyncHandle, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aRcsID int
aAVTransportID int
aProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aStatus String
리턴 void

EndGetProtocolInfo() 공개 메소드

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndGetProtocolInfo ( IntPtr aAsyncHandle, String &aSource, String &aSink ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aSource String
aSink String
리턴 void

EndPrepareForConnection() 공개 메소드

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndPrepareForConnection ( IntPtr aAsyncHandle, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aConnectionID int
aAVTransportID int
aRcsID int
리턴 void

PropertyCurrentConnectionIDs() 공개 메소드

Query the value of the CurrentConnectionIDs property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyCurrentConnectionIDs ( ) : String
리턴 String

PropertySinkProtocolInfo() 공개 메소드

Query the value of the SinkProtocolInfo property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertySinkProtocolInfo ( ) : String
리턴 String

PropertySourceProtocolInfo() 공개 메소드

Query the value of the SourceProtocolInfo property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertySourceProtocolInfo ( ) : String
리턴 String

SetPropertyCurrentConnectionIDsChanged() 공개 메소드

Set a delegate to be run when the CurrentConnectionIDs state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.
public SetPropertyCurrentConnectionIDsChanged ( System aCurrentConnectionIDsChanged ) : void
aCurrentConnectionIDsChanged System The delegate to run when the state variable changes
리턴 void

SetPropertySinkProtocolInfoChanged() 공개 메소드

Set a delegate to be run when the SinkProtocolInfo state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.
public SetPropertySinkProtocolInfoChanged ( System aSinkProtocolInfoChanged ) : void
aSinkProtocolInfoChanged System The delegate to run when the state variable changes
리턴 void

SetPropertySourceProtocolInfoChanged() 공개 메소드

Set a delegate to be run when the SourceProtocolInfo state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgConnectionManager1 instance will not overlap.
public SetPropertySourceProtocolInfoChanged ( System aSourceProtocolInfoChanged ) : void
aSourceProtocolInfoChanged System The delegate to run when the state variable changes
리턴 void

SyncConnectionComplete() 공개 메소드

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncConnectionComplete ( int aConnectionID ) : void
aConnectionID int
리턴 void

SyncGetCurrentConnectionIDs() 공개 메소드

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetCurrentConnectionIDs ( String &aConnectionIDs ) : void
aConnectionIDs String
리턴 void

SyncGetCurrentConnectionInfo() 공개 메소드

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetCurrentConnectionInfo ( int aConnectionID, int &aRcsID, int &aAVTransportID, String &aProtocolInfo, String &aPeerConnectionManager, int &aPeerConnectionID, String &aDirection, String &aStatus ) : void
aConnectionID int
aRcsID int
aAVTransportID int
aProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aStatus String
리턴 void

SyncGetProtocolInfo() 공개 메소드

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetProtocolInfo ( String &aSource, String &aSink ) : void
aSource String
aSink String
리턴 void

SyncPrepareForConnection() 공개 메소드

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncPrepareForConnection ( String aRemoteProtocolInfo, String aPeerConnectionManager, int aPeerConnectionID, String aDirection, int &aConnectionID, int &aAVTransportID, int &aRcsID ) : void
aRemoteProtocolInfo String
aPeerConnectionManager String
aPeerConnectionID int
aDirection String
aConnectionID int
aAVTransportID int
aRcsID int
리턴 void