summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Instance.h')
-rw-r--r--cppe/src/IceE/Instance.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cppe/src/IceE/Instance.h b/cppe/src/IceE/Instance.h
index 0b40da1ed2e..bb278faa0ac 100644
--- a/cppe/src/IceE/Instance.h
+++ b/cppe/src/IceE/Instance.h
@@ -28,6 +28,7 @@
#include <IceE/Shared.h>
#include <IceE/RecMutex.h>
#include <IceE/Initialize.h>
+#include <IceE/SharedContext.h>
#include <IceE/Identity.h>
namespace IceInternal
@@ -56,6 +57,10 @@ public:
#ifdef ICEE_HAS_BATCH
void flushBatchRequests();
#endif
+
+ void setDefaultContext(const ::Ice::Context&);
+ SharedContextPtr getDefaultContext() const;
+
#ifndef ICEE_PURE_BLOCKING_CLIENT
size_t threadPerConnectionStackSize() const;
#endif
@@ -104,6 +109,7 @@ private:
#ifndef ICEE_PURE_CLIENT
ObjectAdapterFactoryPtr _objectAdapterFactory;
#endif
+ SharedContextPtr _defaultContext;
};
class UTF8BufferI : public Ice::UTF8Buffer