// En modo ST invocamos directamente al Handler::apply.
//------------------------------------------------------------------------------------------------
void comm::Handler::do_action()
-throw(RuntimeException) {
+noexcept(false) {
pollfd pollfd;
pollfd.fd = getfd();
pollfd.events = POLLIN | POLLRDNORM;
}
std::string comm::Handler::asString() const
-throw() {
+{
string msg("comm::Handler { ");
msg += Runnable::asString();
}
xml::Node* comm::Handler::asXML(xml::Node* parent) const
-throw(RuntimeException) {
+noexcept(false) {
xml::Node* result = parent->createChild("comm.Handler");
asAttribute(result);
return result;
}
void comm::Handler::asAttribute(xml::Node* node) const
-throw(RuntimeException) {
+noexcept(false) {
node->createAttribute("Id", getId());
node->createAttribute("RequestStop", anna::functions::asString(hasRequestedStop()));