summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ResponseHandler.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-06-27 10:31:41 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-06-27 10:31:41 +0200
commita4f93259dc3494d98addf38e69b87eb557d432b3 (patch)
treed2b78bb5cea24e33dc1b46be22dba6167e96c9ed /cpp/src/Ice/ResponseHandler.h
parentFix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP ... (diff)
downloadice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.bz2
ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.xz
ice-a4f93259dc3494d98addf38e69b87eb557d432b3.zip
Better collocation optimization, fix for ICE-5489, ICE-5484
Diffstat (limited to 'cpp/src/Ice/ResponseHandler.h')
-rw-r--r--cpp/src/Ice/ResponseHandler.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/cpp/src/Ice/ResponseHandler.h b/cpp/src/Ice/ResponseHandler.h
new file mode 100644
index 00000000000..ad803fbbb44
--- /dev/null
+++ b/cpp/src/Ice/ResponseHandler.h
@@ -0,0 +1,38 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2014 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.
+//
+// **********************************************************************
+
+#ifndef ICE_RESPONSE_HANDLER_H
+#define ICE_RESPONSE_HANDLER_H
+
+#include <IceUtil/Shared.h>
+#include <IceUtil/Handle.h>
+
+#include <Ice/Config.h>
+#include <Ice/LocalException.h>
+#include <Ice/ResponseHandlerF.h>
+
+namespace IceInternal
+{
+
+class BasicStream;
+
+class ResponseHandler : virtual public ::IceUtil::Shared
+{
+public:
+
+ virtual ~ResponseHandler();
+
+ virtual void sendResponse(Ice::Int, BasicStream*, Ice::Byte) = 0;
+ virtual void sendNoResponse() = 0;
+ virtual void invokeException(Ice::Int, const Ice::LocalException&, int) = 0;
+};
+
+}
+
+#endif