Ice 3.7 C++11 API Reference
|
Go to the documentation of this file.
16 #ifndef __Ice_Current_h__
17 #define __Ice_Current_h__
35 #ifndef ICE_IGNORE_VERSION
36 # if ICE_INT_VERSION / 100 != 307
37 # error Ice version mismatch!
39 # if ICE_INT_VERSION % 100 >= 50
40 # error Beta header file detected
42 # if ICE_INT_VERSION % 100 < 10
43 # error Ice patch level mismatch!
48 # if defined(ICE_STATIC_LIBS)
50 # elif defined(ICE_API_EXPORTS)
51 # define ICE_API ICE_DECLSPEC_EXPORT
53 # define ICE_API ICE_DECLSPEC_IMPORT
57 #ifdef ICE_CPP11_MAPPING // C++11 mapping
68 using Context = ::std::map<::std::string, ::std::string>;
124 ::std::shared_ptr<::Ice::ObjectAdapter>
adapter;
130 ::std::shared_ptr<::Ice::Connection>
con;
170 using Ice::operator<;
171 using Ice::operator<=;
172 using Ice::operator>;
173 using Ice::operator>=;
174 using Ice::operator==;
175 using Ice::operator!=;
186 static const StreamHelperCategory helper = StreamHelperCategoryEnum;
187 static const int minValue = 0;
188 static const int maxValue = 2;
189 static const int minWireSize = 1;
190 static const bool fixedLength =
false;
196 #else // C++98 mapping
207 typedef ::std::map< ::std::string, ::std::string>
Context;
263 ::Ice::ObjectAdapterPtr
adapter;
269 ::Ice::ConnectionPtr
con;
309 static const StreamHelperCategory helper = StreamHelperCategoryEnum;
310 static const int minValue = 0;
311 static const int maxValue = 2;
312 static const int minWireSize = 1;
313 static const bool fixedLength =
false;
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
::std::shared_ptr<::Ice::ObjectAdapter > adapter
The object adapter.
Definition: Current.h:124
::Ice::EncodingVersion encoding
The encoding version used to encode the input and output parameters.
Definition: Current.h:158
::std::string operation
The operation name.
Definition: Current.h:142
A version structure for the encoding version.
Definition: Version.h:82
::Ice::Context ctx
The request context, as received from the client.
Definition: Current.h:150
std::tuple< const ::std::shared_ptr<::Ice::ObjectAdapter > &, const ::std::shared_ptr<::Ice::Connection > &, const ::Ice::Identity &, const ::std::string &, const ::std::string &, const ::Ice::OperationMode &, const ::Ice::Context &, const int &, const ::Ice::EncodingVersion & > ice_tuple() const
Obtains a tuple containing all of the struct's data members.
Definition: Current.h:164
::Ice::Identity id
The Ice object identity.
Definition: Current.h:134
@ Normal
Ordinary operations have Normal mode.
::Ice::OperationMode mode
The mode of the operation.
Definition: Current.h:146
Definition: BuiltinSequences.h:56
::std::shared_ptr<::Ice::Connection > con
Information about the connection over which the current method invocation was received.
Definition: Current.h:130
OperationMode
Determines the retry behavior an invocation in case of a (potentially) recoverable error.
Definition: Current.h:74
::std::string facet
The facet.
Definition: Current.h:138
Information about the current method invocation for servers.
Definition: Current.h:120
The identity of an Ice object.
Definition: Identity.h:67
int Int
The mapping for the Slice int type.
Definition: Config.h:54
int requestId
The request id unless oneway (0).
Definition: Current.h:154