Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-28-2009
ucdriver ucdriver is offline
Registered User
 
Name: haitao zeng
Organization: bupt
Project: tencent
 
Join Date: Mar 2009
Posts: 6
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
__________________
HaitaoZeng
=====================
beijing university of post and telecomunication
www.bupt.edu.cn
Reply With Quote
  #2 (permalink)  
Old 06-28-2009
ucdriver ucdriver is offline
Registered User
 
Name: haitao zeng
Organization: bupt
Project: tencent
 
Join Date: Mar 2009
Posts: 6
I don't want php use direct proxy. could php change the defalut locator? or I can only intergrate the tow icegrid into one?
__________________
HaitaoZeng
=====================
beijing university of post and telecomunication
www.bupt.edu.cn
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Locator alexnycheung Help Center 1 05-05-2009 09:57 AM
Locator error Andrew Help Center 0 02-03-2009 07:43 AM
locator mwilson Help Center 2 12-05-2006 09:02 PM
Ice.Default.Locator xdm Help Center 8 05-31-2005 09:52 AM
Locator Diego Giraldez Comments 5 05-09-2003 02:06 PM


All times are GMT -4. The time now is 04:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2009 ZeroC, Inc.