Ice
3.9
Slice API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
Ice
OperationMode.ice
1
// Copyright (c) ZeroC, Inc.
2
3
#pragma once
4
5
[[
"cpp:dll-export:ICE_API"
]]
6
[[
"cpp:doxygen:include:Ice/Ice.h"
]]
7
[[
"cpp:header-ext:h"
]]
8
9
[[
"cpp:no-default-include"
]]
10
[[
"cpp:include:Ice/Config.h"
]]
11
[[
"cpp:include:Ice/StreamHelpers.h"
]]
12
13
[[
"js:module:@zeroc/ice"
]]
14
15
#ifdef __ICERPC__
16
// In IceRPC, OperationMode is an internal implementation detail of the Ice protocol; the corresponding generated code
17
// is not publicly visible.
18
[
"cs:identifier:IceRpc.Internal"
]
19
#endif
20
[
"java:identifier:com.zeroc.Ice"
]
21
module
Ice
22
{
23
/// Specifies if an operation is idempotent, which affects the retry behavior of the Ice client runtime.
24
#ifdef __ICERPC__
25
[
"cs:internal"
]
26
#endif
27
enum
OperationMode
28
{
29
/// A non-idempotent operation (the default). The Ice client runtime guarantees that it will not violate
30
/// at-most-once semantics for operations with this mode.
31
[
"swift:identifier:normal"
]
32
Normal
,
33
34
/// Equivalent to {@link #Idempotent}, but deprecated.
35
[
"deprecated:Use Idempotent instead."
]
36
[
"swift:identifier:nonmutating"
]
37
Nonmutating
,
38
39
/// An idempotent operation. The Ice client runtime does not guarantee at-most-once semantics for such an
40
/// operation.
41
/// @remark When an operation is idempotent, the Ice runtime will attempt to transparently recover from certain
42
/// runtime errors by re-issuing a failed request transparently.
43
[
"swift:identifier:idempotent"
]
44
Idempotent
45
}
46
}
Ice::OperationMode
OperationMode
Specifies if an operation is idempotent, which affects the retry behavior of the Ice client runtime.
Definition
OperationMode.ice:28
Ice::Idempotent
@ Idempotent
An idempotent operation.
Definition
OperationMode.ice:44
Ice::Nonmutating
@ Nonmutating
Equivalent to Idempotent, but deprecated.
Definition
OperationMode.ice:37
Ice::Normal
@ Normal
A non-idempotent operation (the default).
Definition
OperationMode.ice:32
Ice
The Ice RPC framework.
Definition
BuiltinSequences.ice:23
Generated by
1.17.0