hpp::Tools Interface Reference

Utilities to create new contexts and load new interfaces at runtime. More...

import"/home/jmirabel/devel/demo/src/hpp-corbaserver/idl/hpp/corbaserver/tools.idl";

Public Member Functions

boolean loadServerPlugin (in string context_, in string pluginName) raises (Error)
 Load a plugin that creates a CORBA interface. More...
 
boolean createContext (in string context_) raises (Error)
 Create a new context. More...
 
void deleteServant (in string id) raises (Error)
 Delete a servant It throws an exception if the object could not be deleted. More...
 
void shutdown ()
 Shutdown the server. More...
 

Detailed Description

Utilities to create new contexts and load new interfaces at runtime.

Member Function Documentation

boolean hpp::Tools::createContext ( in string  context_)
raises (Error
)

Create a new context.

A context is a set of servant classes that works on a ProblemSolver.

All contexts share the same map of ProblemSolver. Each context can whichever ProblemSolver in this map.

void hpp::Tools::deleteServant ( in string  id)
raises (Error
)

Delete a servant It throws an exception if the object could not be deleted.

boolean hpp::Tools::loadServerPlugin ( in string  context_,
in string  pluginName 
)
raises (Error
)

Load a plugin that creates a CORBA interface.

Parameters
pluginNameeither an absolute filename or a filename relative to <a_path_in_LD_LIBRARY_PATH>/hppPlugins.
Note
The plugin will be available for any problem (even after resetting it).
The context is created if it does not exists.
void hpp::Tools::shutdown ( )

Shutdown the server.