summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index 1adf85d05d3..8c1a1206b0a 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -14,7 +14,7 @@
#include <Ice/Object.h>
#include <Ice/Incoming.h>
-#include <Ice/Current.h>
+#include <Ice/IncomingAsync.h>
#include <Ice/Stream.h>
#include <Ice/LocalException.h>
@@ -429,3 +429,14 @@ Ice::Blobject::__dispatch(Incoming& in, const Current& current)
return ::IceInternal::DispatchUserException;
}
}
+
+DispatchStatus
+Ice::BlobjectAsync::__dispatch(Incoming& in, const Current& current)
+{
+ vector<Byte> inParams;
+ Int sz = in.is()->getReadEncapsSize();
+ in.is()->readBlob(inParams, sz);
+ AMD_Object_ice_invokePtr cb = new AMD_Object_ice_invoke(in);
+ ice_invoke_async(cb, inParams, current);
+ return ::IceInternal::DispatchAsync;
+}