Setting the Router Object on the Space

After you have configured routing, you must set the Router object for the space.

To set the Router object for the space, call the tibasSpace_SetRouter() function (C API) or the setRouter method (Java API).

The tibasSpace_SetRouter() function is defined as follows:

tibas_status tibasSpace_SetRouter(
    tibasSpace space,
    tibasRouter router);

where:

space
 Is a valid space object.
router
 Specifies the router object returned by the tibasRouter_Create() function.
Java Implementation

The Java setRouter method has the following signature:

Router setRouter (Router router) throws ASException;