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 (obsolete) – PB Docs 2019 – PowerBuilder Library

_Narrow (obsolete) – PB Docs 2019

_Narrow (obsolete)

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.

Obsolete function

_Narrow is obsolete, because EAServer is no longer supported since
PowerBuilder 2017.

Applies to

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 value

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

_Is_A (obsolete)


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