diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-04-19 21:34:26 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-04-19 21:34:26 -0700 |
commit | 29ad47a2c61f065fdc24e51143d7d004417aee4f (patch) | |
tree | e7740fac426e18fbb347c30e1b7fd9a2e5cfc857 /java/src/Ice/Util.java | |
parent | Reverted previous bogus fix. (diff) | |
download | ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.tar.bz2 ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.tar.xz ice-29ad47a2c61f065fdc24e51143d7d004417aee4f.zip |
bug 3006 - providing Ice version in various mappings
Diffstat (limited to 'java/src/Ice/Util.java')
-rw-r--r-- | java/src/Ice/Util.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/src/Ice/Util.java b/java/src/Ice/Util.java index 096f3aea71d..a2c19671ec6 100644 --- a/java/src/Ice/Util.java +++ b/java/src/Ice/Util.java @@ -340,6 +340,18 @@ public final class Util } } + public static String + stringVersion() + { + return "3.3.0"; // "A.B.C", with A=major, B=minor, C=patch + } + + public static int + intVersion() + { + return 30300; // AABBCC, with AA=major, BB=minor, CC=patch + } + private static String _localAddress = null; private static java.lang.Object _processLoggerMutex = new java.lang.Object(); private static Logger _processLogger = null; |