[Enterprise Extensions only]

Environment::_duplicate

Overview Duplicates an Environment object.
Original class CORBA::Environment


Intended Usage

This method is intended to be used by client and server applications to duplicate a reference to an Environment object. Both the original and the duplicate reference should subsequently be released using CORBA::release(Environment_ptr).

IDL Syntax

  static CORBA::Environment_ptr _duplicate (CORBA::Environment_ptr p);

Input parameters

p
The Environment object to be duplicated. The reference can be nil, in which case the return value will also be nil.

Return values

CORBA::Environment_ptr
The new Environment object reference. This value should subsequently be released using CORBA::release(Environment_ptr).