Bull DPX/20 Guia do Utilizador Página 264

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 263
2-96
SOMobjects Base Toolkit: Programmers Reference Manual
create_request Method
Purpose
Creates a request to execute a particular operation on the referenced object.
IDL Syntax
ORBStatus create_request (
in Context ctx,
in Identifier operation,
in NVList arg_list,
inout NamedValue result,
out Request request,
in Flags req_flags);
Description
The create_request method creates a request to execute a particular operation on the
referenced object. (For more information on the create_request call, see CORBA 1.1 page
109.)
In DSOM, this method is meaningful only when invoked on a SOMDClientProxy object. If
invoked on a SOMDObject which is not a client proxy, an exception is returned.
Parameters
receiver A pointer to a SOMDObject object.
env A pointer to the Environment structure for the method caller.
ctx A pointer to the Context object of the requested operation.
operation The name of the operation to be performed on the target object, receiver.
arg_list A pointer to a list of arguments (NVList). If this argument is NULL, the
argument list can be assembled by repeated calls to the add_arg method
on the Request object created by calling this method.
result A pointer to a NamedValue structure where the result of applying operation
to receiver should be stored.
request A pointer to storage for the address of the created Request object.
req_flags A Flags bitmask (unsigned long) that may contain the following flag value:
OUT_LIST_MEMORY
Indicates that any out-arg memory is associated with the
argument list. When the list structure is freed, any
associated out-arg memory is also freed. If
OUT_LIST_MEMORY is specified, an argument list must
also have been specified on the create_request call.
Return Value
The create_request method returns an ORBStatus value as the status code for the
request.
Vista de página 263
1 2 ... 259 260 261 262 263 264 265 266 267 268 269 ... 423 424

Comentários a estes Manuais

Sem comentários