Collaboration diagram for Dummy Module:
![]() |
Functions | |
static bs_status | bsmod_dummy_init (void) |
static bs_status | bsmod_dummy_cleanup (void) |
static bs_service_response * | create_response (const bs_service_request *request) |
static bs_status | bsmod_dummy_handle_service (const bs_service_request *request, bs_service_response **response, void *extra) |
Variables | |
bs_module | bsmod_symtable |
bs_module | bsmod_symtable |
static bs_status bsmod_dummy_cleanup | ( | void | ) | [static] |
Cleanup the dummy module by destroying its memory pool
Definition at line 65 of file bsmod_dummy.c.
References BS_OK.
static bs_status bsmod_dummy_handle_service | ( | const bs_service_request * | request, | |
bs_service_response ** | response, | |||
void * | extra | |||
) | [static] |
Service handling routine. The dummy module offers a single echo service.
Definition at line 122 of file bsmod_dummy.c.
References BS_OK, and create_response().
Here is the call graph for this function:
static bs_status bsmod_dummy_init | ( | void | ) | [static] |
Initialize the dummy module by creating a UUID for it.
Definition at line 55 of file bsmod_dummy.c.
References BS_OK.
static bs_service_response* create_response | ( | const bs_service_request * | request | ) | [static] |
Definition at line 72 of file bsmod_dummy.c.
References bs_data_type::builtin, bs_part_instance::data, FALSE, bs_data_type::from_mp, bs_service_request::input, bs_data_type::name, bs_part_instance::name, bs_message_instance::name, bs_message_instance::num_parts, bs_service_request::operation, bs_service_response::operation, bs_service_response::output, bs_message_instance::parts, bs_service_request::port, bs_service_response::port, bs_service_request::service, bs_service_response::service, bs_part_instance::size, TRUE, bs_part_instance::type, bs_service_request::uuid, and bs_service_response::uuid.
Referenced by bsmod_dummy_handle_service().
Initial value:
{ 0, 0, 0, 1, "dummy module", "M.A.Hartman", "jan 25, 2007", "(c) 2007, M.A.Hartman. See distributed LICENSE file for more information.", "A dummy module to illustrate the basic workings of a Bio-SPHERE module. " "It has basically no functionality and contains just the bare minimum " "required in a module.", bsmod_dummy_init, bsmod_dummy_cleanup, bsmod_dummy_handle_service, NULL, "bsmod_dummy.wsdl" }
Definition at line 142 of file bsmod_dummy.c.
Definition at line 49 of file bsmod_dummy.c.