|
|
|
|||||
|
Preserving proxy options from Locator
I've created a custom Locator and I'm not quite understanding the relationship between what the Locator returns and what the caller actually receives. Specifically, any proxy options I set in the Locator (such as endpointSelection) don't seem to be preserved in the proxy that actually makes it to the caller.
For instance, if my application does something like this: Code:
pxy = MyPrx.checkedCast(comm.stringToProxy('dummy@Ordered-endpoints'))
Is this the normal behaviour or am I doing something wrong? If this is the normal behaviour, is there any way that I can force the proxy options to be preserved? |
|
||||||
|
Hi Tim,
Note that there's 2 kind of proxy options: local and non-local proxy options. Local proxy options are never marshalled with the proxy. Non-local proxy options are the ones that can be specified in a stringified proxy (see D.1 Proxies). Local proxy options are the ones which can be configured through properties (see C.8 Ice Proxy Properties). In any case, the Ice runtime only uses the endpoints of the proxy returned by the Ice::Locator operations, it doesn't override the indirect proxy options with the ones from the proxy retrieved by the locator. There's no way to force the proxy options to be preserved. Cheers, Benoit. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| server activation options | rdaneel | Help Center | 2 | 05-25-2007 08:56 AM |
| locator | mwilson | Help Center | 2 | 12-05-2006 09:02 PM |
| /YX stdafx.h and /clr command-line options incompatible | rano | Help Center | 6 | 06-12-2006 09:30 AM |
| --source-ext options broken in slice2cpp 2.1 | acbell | Bug Reports | 2 | 03-14-2005 12:57 AM |
| Locator | Diego Giraldez | Comments | 5 | 05-09-2003 02:06 PM |