|
|
|
|||||
|
Proxy servant problem
Hi,
I've this slice class definition: class GPSData{ float fLat; float fLon; float fVel; string sData; string sOra; float getLat(); void setLat(float value); float getLon(); void setLon(float value); float getVel(); void setVel(float value); string getData(); void setData(string value); string getOra(); void setOra(string value); }; I want use this class as a out parameter of a method: idempotent int getGPSData (out GPSData *gps). Using slice2cppe compiler I have the following method implementation: virtual ::Ice::Int getGPSData(::HiveNet::GPSDataPrx&, const Ice::Current&); I'm trying to publish the servant using the example in the post Problem with "addWithUUID", while implementing the facets but I have compiler error on the following instruction DisplayPrx disp = DisplayPrx::checkedCast(printer,"Display"); It seems that checkedCast isn't a method of DisplayPrx or checkedCast hasn't a prototype with 2 parameter. Can somebody help me, Thanks Pepi. |
![]() |
| 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 |
| proxy acquisition problem | shimrod | Help Center | 9 | 05-06-2007 09:35 PM |
| Problem about proxy | hlnpro | Help Center | 6 | 03-08-2007 09:28 AM |
| a problem about servant locator | rwxybh | Help Center | 14 | 01-01-2006 06:51 AM |
| obtaining a proxy for "this" in a servant | vukicevic | Help Center | 1 | 12-02-2003 04:54 PM |