18 #ifndef INCLUDE_RCF_REMOTECALLCONTEXT_HPP 19 #define INCLUDE_RCF_REMOTECALLCONTEXT_HPP 22 #include <type_traits> 24 #include <RCF/Export.hpp> 25 #include <RCF/Marshal.hpp> 26 #include <RCF/Tools.hpp> 32 class AsioNetworkSession;
34 typedef std::shared_ptr<RcfSession> RcfSessionPtr;
35 typedef std::shared_ptr<AsioNetworkSession> AsioNetworkSessionPtr;
48 void commit(
const std::exception &e);
51 bool isCommitted()
const;
57 RcfSessionPtr mRcfSessionPtr;
58 AsioNetworkSessionPtr mNetworkSessionPtr;
62 I_Parameters * mpParametersUntyped;
91 std::is_same<R, void>,
95 typedef ServerParameters<
97 A1, A2, A3, A4, A5, A6, A7, A8,
98 A9, A10, A11, A12, A13, A14, A15> ParametersT;
103 RCF_ASSERT( dynamic_cast<ParametersT *>(mpParametersUntyped) );
109 return *
static_cast<ParametersT *
>(mpParametersUntyped);;
115 #endif // ! INCLUDE_RCF_REMOTECALLCONTEXT_HPP Represents a server side session, associated with a client connection.
Definition: RcfSession.hpp:64
Base class of RemoteCallContext.
Definition: RemoteCallContext.hpp:38
Definition: RemoteCallContext.hpp:85
RemoteCallContext(RCF::RcfSession &session)
Constructs a remote call context.
Definition: RemoteCallContext.hpp:101
Definition: AmiIoHandler.hpp:23
ParametersT & parameters()
Provides access to the parameters of a remote call context.
Definition: RemoteCallContext.hpp:107