Archived
This forum has been archived. Please start a new discussion on GitHub.
can php overwrite the Ice.Defatult.Locator
I runed two icegridnode. and has configure one as Ice.Defatult.Locator in the php profile. how can my php script use another locator .
in python. I can do with this
proxy=self.communicator().stringToProxy("IceGrid/Query :tcp -h 192.168.0.254 -p 60005")
query = IceGrid.QueryPrx.checkedCast(proxy)
a = query.findObjectByType("::ESUN::ESunTrade")
b = ESunTradePrx.checkedCast(a)
but in php it failed. can php overwrite the Ice.Defatult.Locator
in python. I can do with this
proxy=self.communicator().stringToProxy("IceGrid/Query :tcp -h 192.168.0.254 -p 60005")
query = IceGrid.QueryPrx.checkedCast(proxy)
a = query.findObjectByType("::ESUN::ESunTrade")
b = ESunTradePrx.checkedCast(a)
but in php it failed. can php overwrite the Ice.Defatult.Locator
0
Comments
-
I don't want php use direct proxy. could php change the defalut locator? or I can only intergrate the tow icegrid into one?0