summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/retry/TestI.cpp
diff options
context:
space:
mode:
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();
+}