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.
Afficher le fichier Open project: openhome/ohNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat Invocation

InvokeAction() public méthode

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