diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-01-27 14:09:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-01-27 14:09:35 +0000 |
commit | 9b9bd3568a59a4b111953bc016a9bcdf08ca728c (patch) | |
tree | c644accf965ae25c0c4f8d318a5a19500d36f38a /cpp/demo/IcePack/hello/HelloI.cpp | |
parent | Connection validation now checks for Ice.Override.ConnectTimeout (diff) | |
download | ice-9b9bd3568a59a4b111953bc016a9bcdf08ca728c.tar.bz2 ice-9b9bd3568a59a4b111953bc016a9bcdf08ca728c.tar.xz ice-9b9bd3568a59a4b111953bc016a9bcdf08ca728c.zip |
Added 'object list' and 'object describe' IcePack admin commands.
Diffstat (limited to 'cpp/demo/IcePack/hello/HelloI.cpp')
-rw-r--r-- | cpp/demo/IcePack/hello/HelloI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/IcePack/hello/HelloI.cpp b/cpp/demo/IcePack/hello/HelloI.cpp index 0b95713079f..3b04f141ad6 100644 --- a/cpp/demo/IcePack/hello/HelloI.cpp +++ b/cpp/demo/IcePack/hello/HelloI.cpp @@ -93,7 +93,7 @@ HelloFactoryI::find(const string& name, const Ice::Current& current) const // been removed from the object registry. // IcePack::AdminPrx admin = IcePack::AdminPrx::checkedCast(communicator->stringToProxy("IcePack/Admin")); - admin->removeObject(communicator->stringToProxy(name)); + admin->removeObject(Ice::stringToIdentity(name)); throw NameNotExistException(); } } @@ -120,7 +120,7 @@ HelloI::destroy(const Ice::Current& current) // from the IcePack object registry. // IcePack::AdminPrx admin = IcePack::AdminPrx::checkedCast(communicator->stringToProxy("IcePack/Admin")); - admin->removeObject(adapter->createProxy(current.id)); + admin->removeObject(current.id); // // Remove the Hello object from the object adapter. |