Ice 3.7 Slice API Reference
Loading...
Searching...
No Matches
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
22
23#ifndef __SLICE2JAVA_COMPAT__
24[["java:package:com.zeroc"]]
25#endif
26
27["objc:prefix:ICE"]
28module Ice
29{
30
38interface 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
90interface RouterFinder
91{
101}
102
103}
This interface should be implemented by services implementing the Ice::Router interface.
Definition Router.ice:91
Router * getRouter()
Get the router proxy implemented by the process hosting this finder object.
The Ice router interface.
Definition Router.ice:39
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 ...
idempotent ObjectProxySeq addProxies(ObjectProxySeq proxies)
Add new proxy information to the router's routing table.
idempotent Object * getServerProxy()
Get the router's server proxy, i.e., the proxy to use for forwarding requests from the server to the ...
The Ice core library.
Definition BuiltinSequences.ice:27
sequence< Object > ObjectProxySeq
A sequence of object proxies.
Definition BuiltinSequences.ice:57