|
|
|
||||||
|
Overloading functions in slice
I am trying to understand Ice and the underlying architecture and would appreciate any help in the following matter
My slice file is module com { module xxx { module foo { module service { interface SomeService { bool isValidTradeDate(string country, string date ) ; bool isValidTradeDate(string country, string date, string dateFormat ) ; }; }; }; }; }; As you can see I am trying to overload the function isValidTradeDate by passing dateformat as extra parameter When I run c:\Ice-3.1.0\bin\slice2java --output-dir c:\kill\src someservice.ice I get the following error someservice.ice:12: redefinition of operation `isValidTradeDate' as operation `isValidTradeDate' How do I overload a function? Is it supported? If this is a stupid question please educate me. Thanks
__________________
Sameer Rele Global Enterprise Solutions Architect The Rohatyn Group 280 Park Avenue, 27th Floor - West New York, NY 10017 Tel : (212) 984 2946 sameer.rele@rohatyngroup.com |
|
||||||
|
Mark,
Thanks for the prompt reply Regards
__________________
Sameer Rele Global Enterprise Solutions Architect The Rohatyn Group 280 Park Avenue, 27th Floor - West New York, NY 10017 Tel : (212) 984 2946 sameer.rele@rohatyngroup.com |
|
||||||
|
Quote:
|
![]() |
| 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 |
| Code for unmarshaling functions | aseco | Help Center | 1 | 04-15-2005 08:50 AM |
| Limitations of Overloading operations | Venkat Seeth | Help Center | 5 | 02-18-2005 11:19 AM |
| Static Functions | acbell | Help Center | 5 | 02-17-2005 10:54 PM |
| Idle functions possible? | coke | Help Center | 1 | 01-26-2005 04:34 PM |
| Need these functions: | motoyang | Comments | 1 | 11-23-2004 04:24 PM |