Ice 3.6 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 //
3 // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
9 
10 #pragma once
11 
12 [["cpp:header-ext:h", "objc:header-dir:objc", "js:ice-build"]]
13 [["cpp:include:Glacier2/Config.h"]]
14 
15 #include <Ice/Router.ice>
16 #include <Glacier2/Session.ice>
18 
27 ["objc:prefix:GLACIER2"]
28 module Glacier2
29 {
30 
40 {
41 };
42 
49 interface Router extends Ice::Router
50 {
62  ["nonmutating", "cpp:const"] idempotent string getCategoryForClient();
63 
97  ["amd", "format:sliced"] Session* createSession(string userId, string password)
99 
129  ["amd", "format:sliced"] Session* createSessionFromSecureConnection()
131 
140  ["amd"] void refreshSession()
142 
151  void destroySession()
153 
162  ["nonmutating", "cpp:const"] idempotent long getSessionTimeout();
163 
175  ["nonmutating", "cpp:const"] idempotent int getACMTimeout();
176 };
177 
178 };
179 
Glacier2 is a firewall solution for Ice.
Definition: PermissionsVerifier.ice:18
This exception is raised if a client is denied the ability to create a session with the router...
Definition: PermissionsVerifier.ice:28
The Ice router interface.
Definition: Router.ice:27
This exception is raised if an attempt to create a new session failed.
Definition: Session.ice:29
This exception is raised if a client tries to destroy a session with a router, but no session exists ...
Definition: Router.ice:39
A client-visible session object, which is tied to the lifecycle of a Router.
Definition: Session.ice:48
The Glacier2 specialization of the Ice.Router interface.
Definition: Router.ice:49