Bull DPX/20 Betriebsanweisung Seite 207

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 206
2-39
DSOM Framework Reference
add_class_to_impldef Method
Purpose
Associates a class with a server.
IDL Syntax
void add_class_to_impldef (
in ImplId implid,
in string classname );
Description
Associates a class, identified by name, with a server, identified by its ImplId. This type of
association is used to lookup server implementations via the find_impldef_by_class
method.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
implid The ImplId identifier for the ImplementationDef of the desired server.
classname A string identifying the class name.
Return Value
An exception is returned if there was an error updating the Implementation Repository.
Example
#include <somd.h>
Environment ev;
SOMDServer server;
ImplementationDef impldef;
ImplId implid;
...
server = _somdFindServerByName(SOMD_ObjectMgr,&ev,”stackServer”);
impldef = _get_implementation(server,&ev);
implid = __get_impl_id(impldef,&ev);
_add_class_to_impldef(SOMD_ImplRepObject,&ev,implid,”Queue”);
Original Class
ImplRepository
Seitenansicht 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare