19 #ifndef INCLUDE_RCF_REMOTECALLCONTEXT_HPP 20 #define INCLUDE_RCF_REMOTECALLCONTEXT_HPP 23 #include <type_traits> 25 #include <RCF/Export.hpp> 26 #include <RCF/Marshal.hpp> 27 #include <RCF/Tools.hpp> 33 class AsioNetworkSession;
35 typedef std::shared_ptr<RcfSession> RcfSessionPtr;
36 typedef std::shared_ptr<AsioNetworkSession> AsioNetworkSessionPtr;
49 void commit(
const std::exception &e);
52 bool isCommitted()
const;
58 RcfSessionPtr mRcfSessionPtr;
59 AsioNetworkSessionPtr mNetworkSessionPtr;
63 I_Parameters * mpParametersUntyped;
92 std::is_same<R, void>,
96 typedef ServerParameters<
98 A1, A2, A3, A4, A5, A6, A7, A8,
99 A9, A10, A11, A12, A13, A14, A15> ParametersT;
104 RCF_ASSERT( dynamic_cast<ParametersT *>(mpParametersUntyped) );
110 return *
static_cast<ParametersT *
>(mpParametersUntyped);;
116 #endif // ! INCLUDE_RCF_REMOTECALLCONTEXT_HPP Represents a server side session, associated with a client connection.
Definition: RcfSession.hpp:67
Base class of RemoteCallContext.
Definition: RemoteCallContext.hpp:39
Definition: RemoteCallContext.hpp:86
RemoteCallContext(RCF::RcfSession &session)
Constructs a remote call context.
Definition: RemoteCallContext.hpp:102
Definition: AmiIoHandler.hpp:24
ParametersT & parameters()
Provides access to the parameters of a remote call context.
Definition: RemoteCallContext.hpp:108