Ice 3.7 C++11 API Reference
|
Go to the documentation of this file.
22 #ifdef ICE_CPP11_MAPPING
53 std::shared_ptr<OutputStream>
ostr;
68 void endWriteParams();
69 void writeEmptyParams();
72 #ifdef ICE_CPP11_MAPPING
77 void exception(
const std::exception&,
bool);
78 void exception(
const std::string&,
bool);
79 #if defined(_MSC_VER) && (_MSC_VER == 1500)
84 void exception(
const char* msg,
bool amd)
86 exception(std::string(msg), amd);
93 IncomingBase(IncomingBase&);
96 void warning(
const std::string&)
const;
98 bool servantLocatorFinished(
bool);
100 void handleException(
const std::exception&,
bool);
101 void handleException(
const std::string&,
bool);
103 #if defined(_MSC_VER) && (_MSC_VER == 1500)
108 void handleException(
const char* msg,
bool amd)
110 handleException(std::string(msg), amd);
115 Ice::ObjectPtr _servant;
116 Ice::ServantLocatorPtr _locator;
117 #ifdef ICE_CPP11_MAPPING
118 ::std::shared_ptr<void> _cookie;
122 DispatchObserver _observer;
132 ResponseHandler* _responseHandler;
134 #ifdef ICE_CPP11_MAPPING
135 using DispatchInterceptorCallbacks = std::deque<std::pair<std::function<bool()>,
136 std::function<bool(std::exception_ptr)>>>;
138 typedef std::deque<Ice::DispatchInterceptorAsyncCallbackPtr> DispatchInterceptorCallbacks;
140 DispatchInterceptorCallbacks _interceptorCBs;
144 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
145 # pragma warning(push)
146 # pragma warning(disable:4239)
149 class ICE_API Incoming :
public IncomingBase
160 #ifdef ICE_CPP11_MAPPING
161 void push(std::function<
bool()>, std::function<
bool(std::exception_ptr)>);
163 void push(
const Ice::DispatchInterceptorAsyncCallbackPtr&);
167 void setAsync(
const IncomingAsyncPtr& in)
183 void skipReadParams()
185 _current.encoding = _is->skipEncapsulation();
196 void endReadParams()
const
198 _is->endEncapsulation();
200 void readEmptyParams()
202 _current.encoding = _is->skipEmptyEncapsulation();
206 _current.encoding = _is->readEncapsulation(v, sz);
211 friend class IncomingAsync;
216 IncomingAsyncPtr _inAsync;
219 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
220 # pragma warning(pop)
Base class for marshaled result structures, which are generated for operations having the marshaled-r...
Definition: Incoming.h:33
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
std::shared_ptr< OutputStream > ostr
The output stream used to marshal the results.
Definition: Incoming.h:53
#define ICE_API
Definition: Config.h:197
unsigned char Byte
The mapping for the Slice byte type.
Definition: Config.h:50
The user-level interface to a connection.
Definition: Connection.h:285
FormatType
Describes the possible formats for classes and exceptions.
Definition: Format.h:21
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
std::shared_ptr< OutputStream > getOutputStream() const
Obtains the output stream that is used to marshal the results.
Definition: Incoming.h:45
Abstract base class for all Ice exceptions.
Definition: Exception.h:22
Definition: BuiltinSequences.h:56
MarshaledResult(const Current ¤t)
The constructor requires the Current object that was passed to the servant.
Information about the current method invocation for servers.
Definition: Current.h:120
int Int
The mapping for the Slice int type.
Definition: Config.h:54