[Contents] [Prev] [Next] [Index] [Report an Error]

Closing the Connection to the JUNOScript Server

To end the JUNOScript session and close the connection to the routing platform, each sample script invokes the request_end_session and disconnect methods. Several of the scripts do this in standalone statements:

     $jnx->request_end_session(????);
     $jnx->disconnect(????);

The load_configuration.pl script invokes the graceful_shutdown subroutine instead (for more information, see Handling Error Conditions):

     graceful_shutdown($jnx, $xmlfile, STATE_LOCKED, REPORT_SUCCESS);

[Contents] [Prev] [Next] [Index] [Report an Error]