Bull DPX/20 Podręcznik Użytkownika Strona 193

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 192
2-25
DSOM Framework Reference
impl_is_ready Method
Purpose
Indicates that the implementation is ready to process requests.
IDL Syntax
void impl_is_ready (
in ImplementationDef impl);
Description
The impl_is_ready method Indicates that the implementation is ready to process requests.
Parameters
receiver A pointer to a BOA (SOMOA) object for the server.
env A pointer to the Environment structure for the method caller.
impl A pointer to the ImplementationDef object indicating which implementation
is ready.
Example
#include <somd.h> /* needed by all servers */
main(int argc, char **argv)
{
Environment ev;
SOM_InitEnvironment(&ev);
/* Initialize the DSOM run–time environment */
SOMD_Init(&ev);
/* Retrieve its ImplementationDef from the Implementation
Repository by passing its implementation ID as a key */
SOMD_ImplDefObject =
_find_impldef(SOMD_ImplRepObject, &ev, argv[1]);
/* Tell DSOM that the server is ready to process requests */
_impl_is_ready(SOMD_SOMOAObject, &ev, SOMD_ImplDefObject);
...
}
Original Class
BOA
Related Information
Methods: deactivate_impl, activate_impl_failed, obj_is_ready, execute_request_loop,
execute_next_request
Przeglądanie stron 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag