Re: Name server simple corbaloc



alex wrote:

Hi,

I'm testing the orbit-name-server-2 and I would like to specify the location
of the server in a way that let me use a simple static corbaloc as a
parameter (ORBNamingIOR) to the clients. I can tell the ORB to use a host
and a port using a command like:

./orbit-name-server-2 -ORBIIOPIPName=localhost -ORBIIOPIPSock=4444 -ORBCorbaloc=1 -ORBIIOPIPv4=1
corbaloc:iiop:1 2 localhost:4444/%01%00%00%00%de%f1%d2%d4%d9%d2%d0%e8%cb%b1%e7%e+8%46%a9%4a%33%4e%61%6d%65%53%65%72%76%69%63%65


try:

./orbit-name-server-2 -ORBIIOPIPName=localhost -ORBIIOPIPSock=4444 -ORBCorbaloc=1 -ORBIIOPIPv4=1 --key=NameService

The output will look the same but you should be able to use:

corbaloc:iiop:1 2 localhost:4444/NameService

Regards, Frank




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]