Ice 3.7 Slice API Reference
Current.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/ObjectAdapterF.ice>
22 #include <Ice/ConnectionF.ice>
23 #include <Ice/Identity.ice>
24 #include <Ice/Version.ice>
25 
26 #ifndef __SLICE2JAVA_COMPAT__
27 [["java:package:com.zeroc"]]
28 #endif
29 
30 ["objc:prefix:ICE"]
31 module Ice
32 {
33 
42 dictionary<string, string> Context;
43 
49 //
50 // Note: The order of definitions here *must* match the order of
51 // definitions for ::Slice::Operation::Mode in include/Slice/Parser.h!
52 //
54 {
63 
80 
92 }
93 
102 local struct Current
103 {
110 
119 
126 
132  string facet;
133 
139  string operation;
140 
147 
154 
161 
168 }
169 
170 }
Ice::ObjectAdapter
The object adapter provides an up-call interface from the Ice run time to the implementation of Ice o...
Definition: ObjectAdapter.ice:50
Ice::EncodingVersion
A version structure for the encoding version.
Definition: Version.ice:46
Ice::OperationMode
OperationMode
Determines the retry behavior an invocation in case of a (potentially) recoverable error.
Definition: Current.ice:54
Ice::Current::facet
string facet
The facet.
Definition: Current.ice:132
Ice::Connection
The user-level interface to a connection.
Definition: Connection.ice:223
Ice::Normal
@ Normal
Ordinary operations have Normal mode.
Definition: Current.ice:62
Ice::Current::con
Connection con
Information about the connection over which the current method invocation was received.
Definition: Current.ice:118
Ice::Current::encoding
EncodingVersion encoding
The encoding version used to encode the input and output parameters.
Definition: Current.ice:167
ConnectionF.ice
Ice::Current::adapter
ObjectAdapter adapter
The object adapter.
Definition: Current.ice:109
ObjectAdapterF.ice
Ice
The Ice core library.
Definition: BuiltinSequences.ice:27
Version.ice
Ice::Current::mode
OperationMode mode
The mode of the operation.
Definition: Current.ice:146
Identity.ice
Ice::Idempotent
@ Idempotent
Operations that use the Slice idempotent keyword can modify object state, but invoking an operation t...
Definition: Current.ice:91
Ice::Current
Information about the current method invocation for servers.
Definition: Current.ice:103
Ice::Current::id
Identity id
The Ice object identity.
Definition: Current.ice:125
Ice::Identity
The identity of an Ice object.
Definition: Identity.ice:40
Ice::Current::operation
string operation
The operation name.
Definition: Current.ice:139
Ice::Nonmutating
@ Nonmutating
Operations that use the Slice nonmutating keyword must not modify object state.
Definition: Current.ice:79
Ice::Context
dictionary< string, string > Context
A request context.
Definition: Current.ice:42
Ice::Current::ctx
Context ctx
The request context, as received from the client.
Definition: Current.ice:153
Ice::Current::requestId
int requestId
The request id unless oneway (0).
Definition: Current.ice:160