Default implementation of the Pingable service type. More...
#include <Pingable.hpp>
Public Member Functions | |
virtual void | attachToService (shared_ptr< Service > service) |
Attaches implementations of default service types to a given Service instance. | |
void | pingHandler (shared_ptr< ServiceRequest > request, shared_ptr< ServiceReply > reply) |
Implementation of the handler of ping requests. |
Default implementation of the Pingable service type.
Definition at line 51 of file Pingable.hpp.
void Pingable::attachToService | ( | shared_ptr< Service > | service | ) | [virtual] |
Attaches implementations of default service types to a given Service instance.
service | The Service to which the implementation should be attached to. |
Implements mermaid::support::service::DefaultServiceTypeImplementation.
Definition at line 41 of file Pingable.cpp.
void Pingable::pingHandler | ( | shared_ptr< ServiceRequest > | request, | |
shared_ptr< ServiceReply > | reply | |||
) |
Implementation of the handler of ping requests.
Definition at line 54 of file Pingable.cpp.