Ice 3.9
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#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"]
21module 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
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"]
33
34 /// Equivalent to {@link #Idempotent}, but deprecated.
35 ["deprecated:Use Idempotent instead."]
36 ["swift:identifier: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"]
45 }
46}
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.