Main Page
Namespaces
Classes
Files
File List
File Members
libswarmio
include
swarmio
services
event
Handler.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
swarmio/Node.h
>
4
#include <swarmio/data/event/Notification.pb.h>
5
#include <swarmio/data/discovery/Schema.pb.h>
6
7
namespace
swarmio::services::event
8
{
13
class
SWARMIO_API
Handler
14
{
15
public
:
16
25
virtual
void
EventWasTriggered(
const
Node
* node,
const
data::event::Notification& event) = 0;
26
35
virtual
data::discovery::Schema DescribeEvent(
const
std::string& name) = 0;
36
};
37
}
swarmio::services::event
Definition:
Handler.h:7
Node.h
swarmio::services::event::Handler
Abstract base class for Event handlers.
Definition:
Handler.h:13
swarmio::Node
Represents a Node the Endpoint knows about and can send messages to.
Definition:
libswarmio/include/swarmio/Node.h:11
swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48