TSP: The Transport Sample Protocol



Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

TSP_provider_request_handler_t Struct Reference
[Request]

The structure TSP_provider_request_handler_t define object-oriented interface to a TSP request handler. More...

#include <tsp_request.h>


Data Fields

pthread_t tid
 The request handler thread Id.

int status
 The request handler status (NotInstalled,Idle, Configured, Running, ToBeStopped, Stopped).

void * config_param
 The parameter used for the config step.

tsp_request_handler_config_ft config
 The function to be called in order to initialize the request handler.

tsp_request_handler_run_ft run
 Launch the request handler.

tsp_request_handler_stop_ft stop
 Stop the request handler.

tsp_request_handler_url_ft url
 Get Universal Resource Locator to connect to this request handler>*.


Detailed Description

The structure TSP_provider_request_handler_t define object-oriented interface to a TSP request handler.

Every TSP request handler should implement the interface properly.

Definition at line 101 of file tsp_request.h.


Field Documentation

tsp_request_handler_config_ft TSP_provider_request_handler_t::config
 

The function to be called in order to initialize the request handler.

Definition at line 108 of file tsp_request.h.

Referenced by TSP_provider_rqh_manager_refresh().

void* TSP_provider_request_handler_t::config_param
 

The parameter used for the config step.

Definition at line 106 of file tsp_request.h.

tsp_request_handler_run_ft TSP_provider_request_handler_t::run
 

Launch the request handler.

Definition at line 110 of file tsp_request.h.

Referenced by TSP_provider_rqh_manager_refresh().

int TSP_provider_request_handler_t::status
 

The request handler status (NotInstalled,Idle, Configured, Running, ToBeStopped, Stopped).

Definition at line 104 of file tsp_request.h.

Referenced by TSP_provider_rqh_manager_install(), and TSP_provider_rqh_manager_refresh().

tsp_request_handler_stop_ft TSP_provider_request_handler_t::stop
 

Stop the request handler.

Definition at line 111 of file tsp_request.h.

pthread_t TSP_provider_request_handler_t::tid
 

The request handler thread Id.

Definition at line 103 of file tsp_request.h.

Referenced by TSP_provider_rqh_manager_refresh().

tsp_request_handler_url_ft TSP_provider_request_handler_t::url
 

Get Universal Resource Locator to connect to this request handler>*.

Definition at line 113 of file tsp_request.h.

Referenced by TSP_provider_rqh_manager_get_url().


The documentation for this struct was generated from the following file: Framework Home Page.

Beware !! TSP wave is coming...