[omniORB] Full Visibility of the ORB variable

Diego Sánchez-Aparisi dsam@tid.es
Fri Oct 18 13:23:00 2002


This is a multi-part message in MIME format.

------=_NextPart_000_00E5_01C276B2.4A9F8620
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all

I have written an example in which I get a reference to the orb in the =
main function of the server (as usual). But now I have to perform some =
calls to the orb but from the Proxy (that is, the dispatch section of =
the skeleton file). Therefore is mandatory for me to have full =
visibility of the orb (already initialized in the main function of the =
server) from that skeleton. My idea was to declare this orb variable =
into the header file, so as both the sekeleton and the implementation =
files includes this header file, both of them will have visibility of =
that variable. This aproach was successful in a MICO2.3.7 application =
but I am having problems trying it into a OnmiORB4 environment. Has =
anybody any idea about this issue?

Another simple question: How can I launch a client to access a =
NamingService that is running in another machine? That is, How can I =
tell an application(either server and client) that the Naming Service is =
not running locally?

Thanks in advance
Diego

------=_NextPart_000_00E5_01C276B2.4A9F8620
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have written an example in which I =
get a=20
reference to the orb in the main function of the server (as usual). But =
now I=20
have to perform some calls to the orb but from the Proxy (that is, the =
dispatch=20
section of the skeleton file). Therefore is mandatory for me to have =
full=20
visibility of the orb (already initialized in the&nbsp;main function of =
the=20
server) from that skeleton. My idea was to declare this orb variable =
into the=20
header file, so as both the sekeleton and the implementation files =
includes=20
this&nbsp;header file, both of them will have visibility of that =
variable. This=20
aproach was successful in a MICO2.3.7 application but I am having =
problems=20
trying it into a OnmiORB4 environment.&nbsp;Has anybody any idea about =
this=20
issue?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Another simple question: How can I =
launch a client=20
to access a NamingService that is running in another machine? That is, =
How can I=20
tell an application(either server and client)&nbsp;that the Naming =
Service is=20
not running locally?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Diego</FONT></DIV></BODY></HTML>

------=_NextPart_000_00E5_01C276B2.4A9F8620--