diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/slice/IceGrid/Locator.ice | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/cpp/slice/IceGrid/Locator.ice b/cpp/slice/IceGrid/Locator.ice new file mode 100644 index 00000000000..0c5386fa34c --- /dev/null +++ b/cpp/slice/IceGrid/Locator.ice @@ -0,0 +1,56 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2006 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_LOCATOR_ICE +#define ICE_GRID_LOCATOR_ICE + +#include <Ice/Locator.ice> + +module IceGrid +{ + +interface Registry; +interface Query; + +/** + * + * The &IceGrid; locator interface extends the &Ice; locator interface + * to provide access to the &IceGrid query and registry object of the + * &IceGrid; registry. + * + * @see Registry + * @see Query + * + **/ +interface Locator extends Ice::Locator +{ + /** + * + * Get the proxy of the registry object hosted by this &IceGrid + * registry. + * + * @return The proxy of the registry object. + * + **/ + ["nonmutating", "cpp:const"] idempotent Registry* getLocalRegistry(); + + /** + * + * Get the proxy of the query object hosted by this &IceGrid + * registry. + * + * @return The proxy of the query object. + * + **/ + ["nonmutating", "cpp:const"] idempotent Query* getLocalQuery(); +}; + +}; + +#endif |