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" 28 typedef std::function<Value::Integer(message::CStoreRequest const &)>
Callback;
46 virtual void operator()(message::Message
const & message);
54 #endif // _fdbf3f51_91f5_464a_b449_c3f994297210 virtual void operator()(message::Message const &message)
Process a C-Store request.
Definition: StoreSCP.cpp:61
Callback const & get_callback() const
Return the callback.
Definition: StoreSCP.cpp:47
Definition: Association.cpp:39
void set_callback(Callback const &callback)
Set the callback.
Definition: StoreSCP.cpp:54
Base class for all Service Class Providers.
Definition: SCP.h:21
std::function< Value::Integer(message::CStoreRequest const &)> Callback
Callback called when a request is received.
Definition: StoreSCP.h:28
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