Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches
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["java:identifier:com.zeroc.Ice"]
16module Ice
17{
18 /// Specifies if an operation is idempotent, which affects the retry behavior of the Ice client runtime.
20 {
21 /// A non-idempotent operation (the default). The Ice client runtime guarantees that it will not violate
22 /// at-most-once semantics for operations with this mode.
23 ["swift:identifier:normal"]
25
26 /// Equivalent to {@link #Idempotent}, but deprecated.
27 ["deprecated:Use Idempotent instead."]
28 ["swift:identifier:nonmutating"]
30
31 /// An idempotent operation. The Ice client runtime does not guarantee at-most-once semantics for such an
32 /// operation.
33 /// @remark When an operation is idempotent, the Ice runtime will attempt to transparently recover from certain
34 /// runtime errors by re-issuing a failed request transparently.
35 ["swift:identifier:idempotent"]
37 }
38}
OperationMode
Specifies if an operation is idempotent, which affects the retry behavior of the Ice client runtime.
@ Idempotent
An idempotent operation.
@ Nonmutating
Equivalent to Idempotent, but deprecated.
@ Normal
A non-idempotent operation (the default).
The Ice RPC framework.