#include <scim_server_module.h>
Collaboration diagram for scim::ServerModule:
Public Member Functions | |
ServerModule () | |
Default constructor. | |
ServerModule (const String &name, const ConfigPointer &config) | |
Constructor. | |
bool | load (const String &name, const ConfigPointer &config) |
Load a Server Module by its name. | |
bool | unload () |
Unload the Server Module. | |
bool | valid () const |
Check if a module is loaded and initialized successfully. | |
unsigned int | number_of_servers () const |
Get how many server factories supported by this module. | |
ServerFactoryPointer | create_factory (unsigned int server) const |
Create a server instance for a server factory. |
This is a wrapper of scim::Module class, which is specially for manipulating the server modules.
Definition at line 72 of file scim_server_module.h.
|
Default constructor.
|
|
Constructor.
|
|
Load a Server Module by its name. Load a module into memory. If another module has been loaded into this object, then the old module will be unloaded first. If the old module is resident, false will be returned, and the old module will be untouched.
|
|
Unload the Server Module.
|
|
Check if a module is loaded and initialized successfully.
|
|
Get how many server factories supported by this module.
|
|
Create a server instance for a server factory.
|