odil
Public Types | Public Member Functions | List of all members
odil::EchoSCP Class Reference

SCP for C-Echo services. More...

#include <EchoSCP.h>

Inheritance diagram for odil::EchoSCP:
odil::SCP

Public Types

typedef std::function< Value::Integer(message::CEchoRequest const &)> Callback
 Callback called when a request is received.
 

Public Member Functions

 EchoSCP (Association &association)
 Constructor.
 
 EchoSCP (Association &association, Callback const &callback)
 Constructor.
 
virtual ~EchoSCP ()
 Destructor.
 
Callback const & get_callback () const
 Return the callback.
 
void set_callback (Callback const &callback)
 Set the callback.
 
virtual void operator() (message::Message const &message)
 Process a C-Echo request.
 
- Public Member Functions inherited from odil::SCP
 SCP (Association &association)
 Create a Service Class Provider.
 
virtual ~SCP ()
 Destructor.
 
void receive_and_process ()
 Receive and process a message.
 

Additional Inherited Members

- Protected Attributes inherited from odil::SCP
Association_association
 

Detailed Description

SCP for C-Echo services.


The documentation for this class was generated from the following files: