9 #ifndef _fdbf3f51_91f5_464a_b449_c3f994297210 10 #define _fdbf3f51_91f5_464a_b449_c3f994297210 14 #include "odil/Association.h" 16 #include "odil/Value.h" 17 #include "odil/message/CStoreRequest.h" 18 #include "odil/message/Message.h" 31 typedef std::function<Value::Integer(message::CStoreRequest const &)>
Callback;
49 virtual void operator()(message::Message
const & message);
57 #endif // _fdbf3f51_91f5_464a_b449_c3f994297210 virtual void operator()(message::Message const &message)
Process a C-Store request.
Definition: StoreSCP.cpp:61
Definition: Association.cpp:39
Callback const & get_callback() const
Return the callback.
Definition: StoreSCP.cpp:47
void set_callback(Callback const &callback)
Set the callback.
Definition: StoreSCP.cpp:54
Base class for all Service Class Providers.
Definition: SCP.h:23
std::function< Value::Integer(message::CStoreRequest const &)> Callback
Callback called when a request is received, shall throw an SCP::Exception on error.
Definition: StoreSCP.h:31
SCP for C-Store services.
Definition: StoreSCP.h:24
virtual ~StoreSCP()
Destructor.
Definition: StoreSCP.cpp:40
Association.
Definition: Association.h:29
StoreSCP(Association &association)
Constructor.
Definition: StoreSCP.cpp:26