Bull DPX/20 Guia do Utilizador Página 216

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 215
2-48
SOMobjects Base Toolkit: Programmers Reference Manual
remove_class_from_impldef Method
Purpose
Removes the association of a particular class with a server.
IDL Syntax
void remove_class_from_impldef (
in ImplId implid,
in string classname );
Description
Removes the specified class name from the set of class names associated with the server
implementation identified by implid.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
implid A pointer to an ImplRepository object.
classname A string whose value is the class name of interest.
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 = _find_server_by_name(SOMD_ObjectMgr,&ev,”stackServer”);
impldef = _get_implementation(server,&ev);
implid = __get_impl_id(impldef,&ev);
_remove_class_from_impldef(SOMD_ImplRepObject,
&ev,implid,”Queue”);
Original Class
ImplRepository
Vista de página 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 423 424

Comentários a estes Manuais

Sem comentários