TSP: The Transport Sample Protocol



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

tsp_request.h File Reference

#include "tsp_prjcfg.h"
#include "tsp_sys_headers.h"

Go to the source code of this file.

Data Structures

struct  rqh_manager_data_t
 The TSP rqh manager data structure. More...

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


Enumerations

enum  TSP_request_handler_status_t {
  TSP_RQH_STATUS_NOTINSTALLED = 0, TSP_RQH_STATUS_IDLE, TSP_RQH_STATUS_CONFIGURED, TSP_RQH_STATUS_RUNNING,
  TSP_RQH_STATUS_STOPPED
}
 Request handler status. More...


Functions

int TSP_provider_rqh_manager_get_max_nb (void)
 Get the maximum number of TSP_provider_request_handler.

int TSP_provider_rqh_manager_get_nb (void)
 Get the current number of TSP_provider_request_handler installed.

int TSP_provider_rqh_manager_get_nb_running (void)
 Get the current number of TSP_provider_request_handler running.

TSP_provider_request_handler_tTSP_provider_rqh_manager_get (int rank)
 Get a request_handler.

char * TSP_provider_rqh_manager_get_url (int rank)
 Get the URL for this request handler.

int TSP_provider_rqh_manager_install (int rank, tsp_request_handler_ft rqh_constructor)
 Install a TSP request handler.

int TSP_provider_rqh_manager_init (void)
 Set-up TSP initial request handlers.

int TSP_provider_rqh_manager_refresh (void)
 Refresh TSP request handlers activities this may start new request handler and/or stop running ones.

void TSP_provider_rqh_manager_waitend (void)
 This is a blocking function calls which triggers a wait on a condition variable which is signalled iff no more request handlers thread are running.


Detailed Description

Id
tsp_request.h,v 1.5 2004/10/07 08:58:05 tractobob Exp

-----------------------------------------------------------------------

TSP Library - core components for a generic Transport Sampling Protocol.

Copyright (c) 2002 Yves DUFRENNE, Stephane GALLES, Eric NOULARD and Robert PAGNOT

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

-----------------------------------------------------------------------

Project : TSP Maintainer : tsp@astrium.eads.net Component : Provider

-----------------------------------------------------------------------

Purpose : TSP request handling API

-----------------------------------------------------------------------

Definition in file tsp_request.h. Framework Home Page.


Beware !! TSP wave is coming...