summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/retry/TestI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2006-02-28 22:55:43 +0000
committerMarc Laukien <marc@zeroc.com>2006-02-28 22:55:43 +0000
commit8db0d770f900755f66a20abedc26c8a314d730e9 (patch)
treeec6bdf2dd40e193244ab787f417f89f87a5f7391 /cpp/test/Ice/retry/TestI.cpp
parentfixing bogus config file (diff)
downloadice-8db0d770f900755f66a20abedc26c8a314d730e9.tar.bz2
ice-8db0d770f900755f66a20abedc26c8a314d730e9.tar.xz
ice-8db0d770f900755f66a20abedc26c8a314d730e9.zip
retry fix
Diffstat (limited to 'cpp/test/Ice/retry/TestI.cpp')
-rw-r--r--cpp/test/Ice/retry/TestI.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/Ice/retry/TestI.cpp b/cpp/test/Ice/retry/TestI.cpp
new file mode 100644
index 00000000000..d4f0d072074
--- /dev/null
+++ b/cpp/test/Ice/retry/TestI.cpp
@@ -0,0 +1,26 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <Ice/Ice.h>
+#include <TestI.h>
+
+void
+RetryI::op(bool kill, const Ice::Current& current)
+{
+ if(kill)
+ {
+ current.con->close(true);
+ }
+}
+
+void
+RetryI::shutdown(const Ice::Current& current)
+{
+ current.adapter->getCommunicator()->shutdown();
+}