The simplest thing to do is manage it yourself. Have a config file in which you lay out which place is mapped to which IP address, and maybe a separate file in which you specify which files are mapped to which IP address. Read and parse. You have what you need.
On 12/10/2010 5:35 AM, Yan CRL Li wrote: > For this scenario, I know the IP address of each node, I want to know each > Place id corresponding to this IP. > > For example :I put different files on these nodes. I start 5 places on two > physical nodes: > File A, File B are on node 1 with IP: 192.168.1.1 > FileC,File D and File E anre on node 2 with IP :192.168.1.2 > > When I access these Files, I need to know the mapping relationship between > Place ID and IP address. > > But when programming with X10, I only know the place id, I do not know > which node is mapping to this id, how can I do this ? > > Thanks > > Li Yan (李严) > > System Group, IBM China Research Lab > Tel: 8610-58748060 > Tieline: 11905-8060 > Add: Building 19 Zhongguancun Software Park, 8 Dongbeiwang WestRoad, > Haidian District, Beijing, 100094, P.R.China > E-mail: liyan...@cn.ibm.com > ------------------------------------------------------------------------------ > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users ------------------------------------------------------------------------------ _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users