C# Class OpenHome.Net.ControlPoint.CpService

Used by CpProxy to represent a service offered by a remote device. Only intended for use by auto-generated proxies.
Exibir arquivo Open project: openhome/ohNet Class Usage Examples

Public Methods

Method Description
Invocation ( OpenHome aAction, CpProxy aCallback ) : Invocation

Request an invocation object prior to setting input/output arguments

InvokeAction ( Invocation aInvocation ) : void

Invoke an action

Private Methods

Method Description
CpService ( IntPtr aHandle ) : System

Constructor. Only intended for use by CpProxy.

CpServiceCreate ( IntPtr aDomain, IntPtr aName, uint aVersion, IntPtr aDevice ) : IntPtr
CpServiceDestroy ( IntPtr aService ) : void
CpServiceInvokeAction ( IntPtr aService, IntPtr aInvocation ) : void
Handle ( ) : IntPtr
InvocationComplete ( Invocation aInvocation ) : void

Method Details

Invocation() public method

Request an invocation object prior to setting input/output arguments
public Invocation ( OpenHome aAction, CpProxy aCallback ) : Invocation
aAction OpenHome Action which will be invoked
aCallback CpProxy Delegate to run when the action completes
return Invocation

InvokeAction() public method

Invoke an action
public InvokeAction ( Invocation aInvocation ) : void
aInvocation Invocation Invocation object, with all input and output arguments added
return void