wse_sm_plugin Struct Reference

Eventing subscription manager plugin definition. More...

#include <dc_Plugin.h>


Data Fields

int(* create_subsc )(struct dpws *dpws, uint32_t duration, char **filter, int filter_size, struct wsa_endpoint_ref *notify_to, struct wsa_endpoint_ref *end_to, char **uuid)
 Create subscription hook.
int(* renew_subsc )(struct dpws *dpws, char *subsc_id, uint32_t duration)
 Renew subscription hook.
int(* subsc_status )(struct dpws *dpws, char *subsc_id, uint32_t *duration)
 Retrieves the remaining duration for a subscription.
int(* delete_subsc )(struct dpws *, char *)
 Delete subscription hook.


Detailed Description

Eventing subscription manager plugin definition.

Field Documentation

int(* create_subsc)(struct dpws *dpws, uint32_t duration, char **filter, int filter_size, struct wsa_endpoint_ref *notify_to, struct wsa_endpoint_ref *end_to, char **uuid)

Create subscription hook.

Parameters:
dpws A pointer on a dpws runtime data structure.
duration The requested duration for the subscription (in seconds). Note that the duration has been put a ceiling according to the registry settings.
filter An URI array containing the actions that are concerned by the subscription.
filter_size The size of the preceding filter array.
notify_to The EPR that should receive the notification.
end_to The EPR that should receive the notification end (may not be used since the condition to send it may not be known by the implementor.)
[out] uuid An UUID for the subscription in its text form (using hex encoding). If data is not persistent, it should be allocated on the gSOAP heap.
Returns:
DPWS_OK or an error code.

int(* renew_subsc)(struct dpws *dpws, char *subsc_id, uint32_t duration)

Renew subscription hook.

Parameters:
dpws A pointer on a dpws runtime data structure.
subsc_id The UUID of the subscription.
duration The requested duration for the subscription (in seconds). Note that the duration has been but a ceiling according to the registry settings.
Returns:
DPWS_OK or an error code.

int(* subsc_status)(struct dpws *dpws, char *subsc_id, uint32_t *duration)

Retrieves the remaining duration for a subscription.

Parameters:
dpws A pointer on a dpws runtime data structure.
subsc_id The UUID of the subscription.
[out] The remaining duration in seconds for the subscription.
Returns:
DPWS_OK or an error code.

int(* delete_subsc)(struct dpws *, char *)

Delete subscription hook.

Parameters:
dpws A pointer on a dpws runtime data structure.
subsc_id The UUID of the subscription.
Returns:
DPWS_OK or an error code.


The documentation for this struct was generated from the following file:

Generated on Fri Apr 17 15:18:25 2009 for DPWSCore by  doxygen 1.5.8