Bull DPX/20 Guida Utente Pagina 291

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 290
2-123
DSOM Framework Reference
somdEnableServer Method
Purpose
Enables a server process so that it can be started when required. Initially, all server
processes are enabled by default.
IDL Syntax
ORBStatus somdEnableServer (in string server_alias);
Description
The somdEnableServer method enables a server process associated with the server alias.
Initially, all server processes are enabled by default. Server processes can be disabled by
using the somdDisableServer method.
Parameters
receiver A pointer to an object of class SOMDServerMgr.
ev A pointer to the Environment structure for the calling method.
server_alias The implementation alias of the server to be enabled.
Return Value
Returns 0 for success or a DSOM error code for failure.
Example
SOMDServerMgr servmgr;
string server_alias = ”MyServer”;
ORBStatus rc;
Environment e;
SOM_InitEnvironment(&e);
SOMD_Init(&e);
servmgr = SOMDServerMgrNew();
/* disable the server */
rc = _somdDisableServer(servmgr, &e, server_alias);
/* do some processing */
/* enable the server */
rc = _somdEnableServer(servmgr, &e, server_alias);
Original Class
SOMDServerMgr
Related Information
Methods: somdDisableServer
Vedere la pagina 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 423 424

Commenti su questo manuale

Nessun commento