UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
gena_device.hpp File Reference

Handles subscriptions from a control point. More...

#include <httpparser.hpp>
#include <sock.hpp>
+ Include dependency graph for gena_device.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gena_process_subscription_request (SOCKINFO *info, http_message_t *request)
 Handles a subscription request from a ctrl point. The socket is not closed on return.
 
void gena_process_subscription_renewal_request (SOCKINFO *info, http_message_t *request)
 Handles a subscription renewal request from a ctrl point. The connection is not destroyed on return.
 
void gena_process_unsubscribe_request (SOCKINFO *info, http_message_t *request)
 Handles a subscription cancellation request from a ctrl point. The connection is not destroyed on return.
 

Detailed Description

Handles subscriptions from a control point.

Definition in file gena_device.hpp.

Function Documentation

◆ gena_process_subscription_request()

void gena_process_subscription_request ( SOCKINFO info,
http_message_t request 
)

Handles a subscription request from a ctrl point. The socket is not closed on return.

Parameters
[in]infoSocket info of the device.
[in]requestSubscription request from the control point.

Definition at line 1148 of file gena_device.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gena_process_subscription_renewal_request()

void gena_process_subscription_renewal_request ( SOCKINFO info,
http_message_t request 
)

Handles a subscription renewal request from a ctrl point. The connection is not destroyed on return.

Parameters
[in]infoSocket info of the device.
[in]requestSubscription renewal request from the control point.

Definition at line 1340 of file gena_device.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gena_process_unsubscribe_request()

void gena_process_unsubscribe_request ( SOCKINFO info,
http_message_t request 
)

Handles a subscription cancellation request from a ctrl point. The connection is not destroyed on return.

Parameters
[in]infoSocket info of the device.
[in]requestUNSUBSCRIBE request from the control point.

Definition at line 1443 of file gena_device.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: