:: com :: sun :: star :: lang ::

interface XUnoTunnel
Description
An interface to tunnel UNO. This means providing access to data or something else, which is not specified by UNO-IDL. @attention Restrictive useage. Use only, if there is no better possibility left. It is definitely a hack.

Common usage: Getting a C++ object pointer in the same process, thus to use an implementation directly, most often because of a design flaw.

Developers Guide
WritingUNO - XUnoTunnel
WritingUNO - Core Interfaces to Implement

Methods' Summary
getSomething Call this method to get something which is not specified in UNO, e.g. an address to some C++ object. @attention The identifier specifies how the return value is to be reinterpreted. The identifier must be globally unique, because it is unknown where the implementation resides.  
Methods' Details
getSomething
hyper
getSomething( [in] sequence< byte >  aIdentifier );

Description
Call this method to get something which is not specified in UNO, e.g. an address to some C++ object. @attention The identifier specifies how the return value is to be reinterpreted. The identifier must be globally unique, because it is unknown where the implementation resides.
Parameter aIdentifier
identifier
Returns
something
Top of Page