[omniORB] Using 'file:' in corbaloc URI

Rene Jager renej_frog at users.sourceforge.net
Fri Oct 22 16:46:58 BST 2004


On Fri, 2004-10-22 at 15:04, Stefan Näwe wrote:
> Is there any reason why one would not implement a URI-handler for
> 'file:' schemes ?
> We're planning to use omniOrb together with some Ada-CORBA naming
> service that can not be accessed by using a
> 'corbaloc::host:port/NameService' URI.
> Our C++ applications would need to use the IOR-file written by that
> naming service.

I use libcurl for that purpose; in pseudo code:

while (not error and not uri is not a corba-uri):
	uri = get_contents_via_libcurl(uri)
orb.string_to_object(uri)

this, besides files, allows also using IORs or URIs via http, ftp, etc,
etc

if you want I can post some code doing this

renej
> 
> Cheers
>     Stefan
-- 




More information about the omniORB-list mailing list