diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-26 15:44:23 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-26 15:44:23 +0000 |
commit | b4d4280b01ee02fd05046b657b06e5fe745becde (patch) | |
tree | ec09f8ccac8b0de03d9efcfac65277529daf225b /java/src/Ice/ObjectPrxHelperBase.java | |
parent | Updated icon (diff) | |
download | ice-b4d4280b01ee02fd05046b657b06e5fe745becde.tar.bz2 ice-b4d4280b01ee02fd05046b657b06e5fe745becde.tar.xz ice-b4d4280b01ee02fd05046b657b06e5fe745becde.zip |
More changes to inconsistent ice_ proxy methods
Diffstat (limited to 'java/src/Ice/ObjectPrxHelperBase.java')
-rw-r--r-- | java/src/Ice/ObjectPrxHelperBase.java | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/java/src/Ice/ObjectPrxHelperBase.java b/java/src/Ice/ObjectPrxHelperBase.java index a82c2cede1f..e572c56bf82 100644 --- a/java/src/Ice/ObjectPrxHelperBase.java +++ b/java/src/Ice/ObjectPrxHelperBase.java @@ -17,14 +17,31 @@ public class ObjectPrxHelperBase implements ObjectPrx return _reference.hashCode(); } + /** + * @deprecated This method has been replaced with ice_getHash. + **/ public final int ice_hash() { + return ice_getHash(); + } + + public final int + ice_getHash() + { return _reference.hashCode(); } + /** + * @deprecated This method has been replaced with ice_getCommunicator. + **/ public final Communicator ice_communicator() { + return ice_getCommunicator(); + } + + public final Communicator ice_getCommunicator() + { return _reference.getCommunicator(); } @@ -494,14 +511,23 @@ public class ObjectPrxHelperBase implements ObjectPrx } public final boolean - ice_getCollocationOptimization() + ice_isCollocationOptimized() { return _reference.getCollocationOptimization(); } + /** + * @deprecated This method has been replaced with ice_collocationOptimized. + **/ public final ObjectPrx ice_collocationOptimization(boolean b) { + return ice_collocationOptimized(b); + } + + public final ObjectPrx + ice_collocationOptimized(boolean b) + { if(b == _reference.getCollocationOptimization()) { return this; @@ -667,9 +693,18 @@ public class ObjectPrxHelperBase implements ObjectPrx } } + /** + * @deprecated This method has been replaced with ice_collocationOptimized. + **/ public final Connection ice_connection() { + return ice_getConnection(); + } + + public final Connection + ice_getConnection() + { int __cnt = 0; while(true) { |