Re: change the uri

Éric Piel <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 15-09-12 20:59, Pierre PACORY wrote:
> hi,
>
> is there a way to change the uri of a publishing object without NameServer ?
>
> uri=daemon.register(thing)
> print  uri
>>>>PYRO:obj_dcf713ac20ce4fb2a6e72acaeba57dfd@localhost:51850
>
> I would like an uri like this for example : PYRO:myobject@localhost:51850
Hi Pierre,

That should work:

uri=daemon.register(thing, "myobject")

See you,
Éric

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.