Public Member Functions | Private Member Functions

# HServiceProxy Class Reference
[Device Model]

A class that is used at client-side to represent a service found in a UPnP device. More...

`#include <HServiceProxy>`

Inheritance diagram for HServiceProxy:

List of all members.

## Public Member Functions
| HServiceProxy ()
virtual | ~HServiceProxy ()
HDeviceProxy * | parentProxyDevice () const
## Private Member Functions
virtual HActionsSetupData | createActions ()

## Detailed Description

A proxy service is a pure client-side concept utilized by HControlPoint. This class is instantiated by HControlPoint for every service found in every discovered UPnP device that is added into the control of an `HControlPoint`.

As an HService, the `HServiceProxy` relies fully on the HUPnP Device Model and thus it is used similarly compared to server-side `HService` classes. Unlike the `HService` at server-side, however, the `HServiceProxy` at client-side is usually responsible of only performing remote procedure calls to the server side.

Remarks:
  the methods introduced in this class are thread-safe, but the `QObject` base class is largely not.

See also:
  HControlPoint, HDeviceProxy

## Constructor & Destructor Documentation

HServiceProxy | ( |  | ) |

Creates a new instance.

~HServiceProxy | ( |  | ) | `[virtual]`

Destroys the instance.

## Member Function Documentation

HActionsSetupData createActions | ( |  | ) | `[private, virtual]`

Overriding this method has no effect.

At client-side every action invocation is always directed by HUPnP to the UPnP device over the network.

Reimplemented from HService.

HDeviceProxy * parentProxyDevice | ( |  | ) | const

Returns the parent HDeviceProxy that contains this service instance.

This is a helper method that returns the parent HDevice of this service statically cast to HDeviceProxy.

Returns:
  the parent HDeviceProxy that contains this service instance.