Ice 3.7 Slice API Reference
All Classes Interfaces Structs Exceptions Modules Files Operations Constants Sequences Dictionaries Enumerations Enumerator Pages
Router.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 [["cpp:dll-export:ICE_API"]]
8 [["cpp:doxygen:include:Ice/Ice.h"]]
9 [["cpp:header-ext:h"]]
10 
11 [["ice-prefix"]]
12 
13 [["js:module:ice"]]
14 [["js:cjs-module"]]
15 
16 [["objc:dll-export:ICE_API"]]
17 [["objc:header-dir:objc"]]
18 
19 [["python:pkgdir:Ice"]]
20 
21 #include <Ice/BuiltinSequences.ice>
22 
23 #ifndef __SLICE2JAVA_COMPAT__
24 [["java:package:com.zeroc"]]
25 #endif
26 
27 ["objc:prefix:ICE"]
28 module Ice
29 {
30 
38 interface Router
39 {
57  ["nonmutating", "cpp:const"] idempotent Object* getClientProxy(out optional(1) bool hasRoutingTable);
58 
67  ["nonmutating", "cpp:const"] idempotent Object* getServerProxy();
68 
79 }
80 
90 interface RouterFinder
91 {
101 }
102 
103 }
Ice::Router
The Ice router interface.
Definition: Router.ice:39
BuiltinSequences.ice
Ice::Router::getClientProxy
idempotent Object * getClientProxy(out optional(1) bool hasRoutingTable)
Get the router's client proxy, i.e., the proxy to use for forwarding requests from the client to the ...
Ice::RouterFinder
This inferface should be implemented by services implementing the Ice::Router interface.
Definition: Router.ice:91
Ice::ObjectProxySeq
sequence< Object > ObjectProxySeq
A sequence of object proxies.
Definition: BuiltinSequences.ice:57
Ice::Router::getServerProxy
idempotent Object * getServerProxy()
Get the router's server proxy, i.e., the proxy to use for forwarding requests from the server to the ...
Ice::Router::addProxies
idempotent ObjectProxySeq addProxies(ObjectProxySeq proxies)
Add new proxy information to the router's routing table.
Ice
The Ice core library.
Definition: BuiltinSequences.ice:27
Ice::RouterFinder::getRouter
Router * getRouter()
Get the router proxy implemented by the process hosting this finder object.