Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

_Narrow – PB Docs 150 – PowerBuilder Library

_Narrow – PB Docs 150

_Narrow PowerScript function

Description

Converts a CORBA object reference from a general supertype
to a more specific subtype.

This function is used by PowerBuilder clients connecting to EAServer.

Controls

CORBAObject objects

Syntax

Argument

Description

corbaobject

An object of type CORBAObject that you
want to convert

newremoteobject

A variable that will contain the converted
object reference

classname

The class name of the subtype to which
you want to narrow the object reference

Return Values

Long. Returns 0 if it succeeds and a
negative number if an error occurs.

Usage

The _Narrow function allows you to narrow proxy objects
in a CORBA–compatible client that connects to EAServer. For additional examples,
see the functions on the See also list.

Examples

The following example narrows a CORBA object reference
to the n_Bank_Account interface:

In this example, the component is an EJB component
that resides in a separate domain in EAServer.
In this case, the SimpleBean component’s classes are in the ../classes/adomain/asimplepackage subdirectory:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x