Re: Pyrolite and JavaScript in browser
Richard <[email protected]> Sun, 08 Mar 2015 09:57:10 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Ok, I got it. I had to expose these objects during startup of the gateway with the -e option... Richard On 08/03/15 00:56, Irmen de Jong wrote: > On 8-3-2015 0:49, Irmen de Jong wrote: > >> The default is set to "http." and that is probably not what your object names start >> with. Either rename your objects or use a different expose pattern. > Forgot to write: > As the pattern is just a regex, you can set it to ".*" and this will expose *all* > objects. Because it matches any object name. That is okay for testing, but likely not > what you want to ship, because it exposes all your registered objects including the name > server itself. Hence the choice of the default "http." so that only objects starting > with that are exposed via the http gateway. > > The browser page of the http gateway lists the exposed objects as well, so as long as > your object names are not shown, they're not accessible because of a mismatching expose > pattern. > > > Irmen > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Pyro-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyro-core ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/