RSB
0.15.1
|
Public Member Functions | |
QueryHandler (IntrospectionSender &sender) | |
void | handle (EventPtr query) |
Handle event. More... | |
void | handleSurvey (EventPtr query) |
void | handleRequest (EventPtr query) |
void | handlePing (EventPtr query) |
void | sendPong (const ParticipantInfo &participant, EventPtr) |
Public Member Functions inherited from rsb::Handler | |
std::set< std::string > | getMethods () const |
Returns the desired set of methods this handler can handle. More... | |
bool | acceptsMethod (const std::string &method) const |
Public Attributes | |
IntrospectionSender & | sender |
Additional Inherited Members | |
Protected Member Functions inherited from rsb::Handler | |
Handler (const std::string &method="") | |
Creates a new handler that only accepts events for the specified method. More... | |
Handler (const std::set< std::string > &methods) | |
Creates a new handler that only accepts events with the specified methods. More... | |
virtual | ~Handler () |
std::string | getClassName () const |
Definition at line 49 of file IntrospectionSender.cpp.
|
inline |
Definition at line 50 of file IntrospectionSender.cpp.
|
inlinevirtual |
Handle event.
event | The event that should be handled. |
Implements rsb::eventprocessing::Handler.
Definition at line 54 of file IntrospectionSender.cpp.
References handlePing(), handleRequest(), handleSurvey(), rsb::introspection::IntrospectionSender::logger, rsb::introspection::IntrospectionSender::mutex, and sender.
|
inline |
Definition at line 98 of file IntrospectionSender.cpp.
References rsb::introspection::IntrospectionSender::participants, sender, and sendPong().
Referenced by handle().
|
inline |
Definition at line 83 of file IntrospectionSender.cpp.
References rsb::introspection::IntrospectionSender::participants, sender, and rsb::introspection::IntrospectionSender::sendHello().
Referenced by handle().
|
inline |
Definition at line 74 of file IntrospectionSender.cpp.
References rsb::introspection::IntrospectionSender::participants, sender, and rsb::introspection::IntrospectionSender::sendHello().
Referenced by handle().
|
inline |
Definition at line 107 of file IntrospectionSender.cpp.
References rsb::introspection::ParticipantInfo::getId(), rsb::introspection::IntrospectionSender::informer, and sender.
Referenced by handlePing().
IntrospectionSender& rsb::introspection::QueryHandler::sender |
Definition at line 115 of file IntrospectionSender.cpp.
Referenced by handle(), handlePing(), handleRequest(), handleSurvey(), and sendPong().