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... | |
Utilities to create new contexts and load new interfaces at runtime.
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.
pluginName | either an absolute filename or a filename relative to <a_path_in_LD_LIBRARY_PATH>/hppPlugins . |
void hpp::Tools::shutdown | ( | ) |
Shutdown the server.