Freeing a Router

When the routed connection has been terminated, you should free the router object.

To free the router object using the C API, call the tibasRouter_Free() function. The tibasRouter_Free() function is defined as follows:

tibas_status TIBAS_COMMON_API TIBAS_CALL_API tibasRouter_Free(
    tibasRouter* router);

where router specifies the Router object that was used to create the router.

Java Implementation

Using the Java API, you can free the router by calling the stopRouter method. The stopRouter method has the following definition:

void stopRouter (Router router) throws ASException;