[Enterprise Extensions only]

ServerRequest::ctx

Overview Provides the Context of an operation being invoked on a BOA::DynamicImplementation.
Original class CORBA::ServerRequest
Exceptions CORBA::SystemException


Intended Usage

This method is intended to be used by an implementation of CORBA::BOA::DynamicImplementation ::invoke (in a subclass of BOA::DynamicImplementation) to discover the Context of the request (if any). The IDL specification (for the operation being dispatched by CORBA::BOA::DynamicImplementation ::invoke) indicates what Context identifiers are transmitted on each invocation of that operation.

IDL Syntax

  CORBA::Context_ptr ctx() throw (CORBA::SystemException);

Input parameters

None.

Return values

CORBA::Context_ptr
The Context of the operation that an implementation of CORBA::BOA::DynamicImplementation::invoke is dispatching. The ServerRequest retains ownership of the Context and the caller must not modify or free it.