9#ifndef _1a61d976_ba12_4dba_af34_67f064d38506
10#define _1a61d976_ba12_4dba_af34_67f064d38506
32 typedef std::function<
52 void operator()(std::shared_ptr<message::CEchoRequest const> request);
Association.
Definition Association.h:31
EchoSCP(Association &association)
Constructor.
std::function< Value::Integer(std::shared_ptr< message::CEchoRequest const >) > Callback
Callback called when a request is received, shall throw an SCP::Exception on error.
Definition EchoSCP.h:34
void set_callback(Callback const &callback)
Set the callback.
Callback const & get_callback() const
Return the callback.
virtual void operator()(std::shared_ptr< message::Message > message)
Process a C-Echo request.
EchoSCP(Association &association, Callback const &callback)
Constructor.
SCP(Association &association)
Create a Service Class Provider.
int64_t Integer
Integer type.
Definition Value.h:42
Definition Cancellation.h:21
Definition Association.h:25
#define ODIL_API
Definition odil.h:28