summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/AdminRouter.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/AdminRouter.h')
-rw-r--r--cpp/src/IceGrid/AdminRouter.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/AdminRouter.h b/cpp/src/IceGrid/AdminRouter.h
new file mode 100644
index 00000000000..01add9a8af6
--- /dev/null
+++ b/cpp/src/IceGrid/AdminRouter.h
@@ -0,0 +1,33 @@
+// **********************************************************************
+//
+// 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_GRID_ADMIN_ROUTER_H
+#define ICE_GRID_ADMIN_ROUTER_H
+
+#include <Ice/Ice.h>
+
+namespace IceGrid
+{
+
+//
+// An Admin Router routes requests to an admin object
+//
+class AdminRouter : public Ice::BlobjectArrayAsync
+{
+public:
+
+ virtual Ice::ObjectPrx getTarget(const Ice::Current&) = 0;
+
+ virtual void ice_invoke_async(const Ice::AMD_Object_ice_invokePtr&,
+ const std::pair<const Ice::Byte*, const Ice::Byte*>&,
+ const Ice::Current&);
+};
+
+}
+#endif