diff options
author | Michi Henning <michi@zeroc.com> | 2003-06-26 01:58:15 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-06-26 01:58:15 +0000 |
commit | 2358a0d243533d0b3ec9453305a52d0895dd556b (patch) | |
tree | 16944e3ba8ba182783661ea5f7a7f968c57df895 /java/demo/Ice/hello/HelloI.java | |
parent | Got rid of _communicator data member. Now using the communicator via the (diff) | |
download | ice-2358a0d243533d0b3ec9453305a52d0895dd556b.tar.bz2 ice-2358a0d243533d0b3ec9453305a52d0895dd556b.tar.xz ice-2358a0d243533d0b3ec9453305a52d0895dd556b.zip |
Got rid of _communicator member variable. Using Current object now.
Diffstat (limited to 'java/demo/Ice/hello/HelloI.java')
-rw-r--r-- | java/demo/Ice/hello/HelloI.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/java/demo/Ice/hello/HelloI.java b/java/demo/Ice/hello/HelloI.java index f31ea58b482..4d76a078748 100644 --- a/java/demo/Ice/hello/HelloI.java +++ b/java/demo/Ice/hello/HelloI.java @@ -14,12 +14,6 @@ public class HelloI extends Hello { - public - HelloI(Ice.Communicator communicator) - { - _communicator = communicator; - } - public void sayHello(Ice.Current current) { @@ -30,8 +24,6 @@ public class HelloI extends Hello shutdown(Ice.Current current) { System.out.println("Shutting down..."); - _communicator.shutdown(); + current.adapter.getCommunicator().shutdown(); } - - private Ice.Communicator _communicator; } |