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);
92 IncomingBase(Instance*, ResponseHandler*, Ice::Connection*,
const Ice::ObjectAdapterPtr&,
bool,
Ice::Byte,
Ice::Int);
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);
114 Ice::Current _current;
115 Ice::ObjectPtr _servant;
116 Ice::ServantLocatorPtr _locator;
117#ifdef ICE_CPP11_MAPPING
118 ::std::shared_ptr<void> _cookie;
122 DispatchObserver _observer;
126 Ice::OutputStream _os;
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)
149class ICE_API Incoming :
public IncomingBase
153 Incoming(Instance*, ResponseHandler*, Ice::Connection*,
const Ice::ObjectAdapterPtr&,
bool,
Ice::Byte,
Ice::Int);
155 const Ice::Current& getCurrent()
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)
180 void invoke(
const ServantManagerPtr&, Ice::InputStream*);
183 void skipReadParams()
185 _current.encoding = _is->skipEncapsulation();
187 Ice::InputStream* startReadParams()
193 _current.encoding = _is->startEncapsulation();
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;
213 Ice::InputStream* _is;
216 IncomingAsyncPtr _inAsync;
219#if defined(_MSC_VER) && (_MSC_VER >= 1900)
#define ICE_API
Definition Config.h:197
Base class for marshaled result structures, which are generated for operations having the marshaled-r...
Definition Incoming.h:33
MarshaledResult(const Current ¤t)
The constructor requires the Current object that was passed to the servant.
std::shared_ptr< OutputStream > getOutputStream() const
Obtains the output stream that is used to marshal the results.
Definition Incoming.h:45
std::shared_ptr< OutputStream > ostr
The output stream used to marshal the results.
Definition Incoming.h:53
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
Definition BuiltinSequences.h:56
int Int
The mapping for the Slice int type.
Definition Config.h:54
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition LocalObjectF.h:17
FormatType
Describes the possible formats for classes and exceptions.
Definition Format.h:21
unsigned char Byte
The mapping for the Slice byte type.
Definition Config.h:50
IceUtil::Exception Exception
Definition Exception.h:22
Information about the current method invocation for servers.
Definition Current.h:120