Main Page Alphabetical List Compound List File List Compound Members File Members
endpoint.h File ReferenceHeader file for the sample Pipe CPI provider.
More...
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
Header file for the sample Pipe CPI provider.
- Date:
-
- Date:
-
2004/04/28 10:53:34
- Version:
-
- Header:
-
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/endpoint/endpoint.h,v 1.3 2004/04/28 10:53:34 hartmutkaiser Exp
Copyright (C) Kelly Davis This file is part of the GAT Engine. Contributed by Kelly Davis <kdavis@aei.mpg.de>.
Use, modification and distribution is subject to the Gridlab Software License. (See accompanying file GLlicense.txt or copy at http://www.gridlab.org/GLlicense.txt)
Definition in file endpoint.h.
Define Documentation
Function Documentation
|
|
endpoint_adaptor_register Registers all CPIs this adaptor provides.
This function is invoked by the loader in the GATEngine when an instance of this adaptor is loaded. Each instance has its own private configuration table.
For every CPI provided the adapter has to hand all the corresponding function pointers to the engine to allow to be called back under certain circumstances. Additionally the adaptor may allocate some private data for every loaded instance. This data is handed back to the adaptor as the first parameter to each of the subsequently called functions. - Parameters:
-
| registry |
The registry the adaptor should register its CPIs with. |
| system_config |
The system configuration table. |
| instance_config |
The configuration table for this instance. |
| token |
An arbitrary token used by the loader to identify this adaptor instance |
- Returns:
-
An error code.
Definition at line 203 of file endpoint.c.
References GATEndpointCPI_Data::addPipeListener, GATEndpointCPI_Data::clone_instance, GATEndpointCPI_Data::connect, cpi, GATEndpointCPI_Data::create_instance, GATEndpointCPI_Data::data, GATEndpointCPI_Data::deserialise, GATEndpointCPI_Data::destroy, GATEndpointCPI_Data::destroy_instance, endpoint_adaptor_EndpointCPI_AddGATPipeListener(), endpoint_adaptor_EndpointCPI_CloneInstance(), endpoint_adaptor_EndpointCPI_Connect(), endpoint_adaptor_EndpointCPI_CreateInstance(), endpoint_adaptor_EndpointCPI_DeSerialise(), endpoint_adaptor_EndpointCPI_Destroy(), endpoint_adaptor_EndpointCPI_DestroyInstance(), endpoint_adaptor_EndpointCPI_EqualsInstance(), endpoint_adaptor_EndpointCPI_GetMetricEvent(), endpoint_adaptor_EndpointCPI_GetMetrics(), endpoint_adaptor_EndpointCPI_Listen(), endpoint_adaptor_EndpointCPI_Serialise(), GATEndpointCPI_Data::equals_instance, GAT_CREATE_STATUS, GAT_CURRENT_STATUS, GAT_FAILED, GAT_MEMORYFAILURE, GAT_RETURN_STATUS, GAT_UNUSED_PARAMETER, GAT_USES_STATUS, GATEndpointCPI_Create(), GATEndpointCPI_Destroy(), GATFILESTREAMCPI_VERSION, GATPreferences_Add(), GATPreferences_Create(), GATPreferences_Destroy(), GATTable_const, GATEndpointCPI_Data::get_metric_event, GATEndpointCPI_Data::get_metrics, GATEndpointCPI_Data::listen, GATEndpointCPI_Data::serialise, and token.
Referenced by endpoint_adaptor_register(). |
|