nca_set_dispatcher_response

Connection Functions

Sets the specified Dispatcher object properties for response to the server.

void nca_configurator_start( LPCSTR ReplyClassList );

ReplyClassListA two-dimensional array of properties.

nca_configurator_start is a service function that sets the specified Dispatcher object properties for response to the server.

Each set of properties in the ReplyClassList consists of three string pointers: to an object instance, to a property name, and to a response the server expects. The last set of properties contains NULL values to indicate the end of the list: { NULL, NULL, NULL }.

There is usually no need to insert this function or change its argument values after recording.

Return Values

No value returned.

Parameterization

You cannot use standard parameterization for any arguments in this function.

Example

This example shows setting up data and sending with nca_set_dispatcher_response.

static char const * DISPATCHER_CUSTOM_PROPERTY_ANSWER_TABLE[][3]=
{
    {"MDIMaximise()||self||false", "1", ""},
    {"MDIMaximise()||self||false", "1", ""},
    {"document.title||self||true", "1", "GIOS - Vhi Healthcare"},
    {"document.title=\"GIOS - Vhi Healthcare [SUSER@GIOSEM3C]\"||self||false", "1", "GIOS - Vhi Healthcare [SUSER@GIOSEM3C]"},
    {"document.body.clientHeight||self||true", "1", "776"},
    {"document.body.clientWidth||self||true", "1", "1259"},
    { NULL, NULL, NULL }
};

nca_set_dispatcher_response(DISPATCHER_CUSTOM_PROPERTY_ANSWER_TABLE);