10 #ifndef CORAL_NET_SERVICE_HPP 11 #define CORAL_NET_SERVICE_HPP 21 #include "coral/config.h" 111 CORAL_DEFINE_DEFAULT_MOVE(
Beacon, m_thread, m_socket);
118 zmq::socket_t m_socket;
196 std::unique_ptr<Impl> m_impl;
323 void AddTrackedServiceType(
324 const
std::
string& serviceType,
325 std::chrono::milliseconds expiryTime,
332 std::unique_ptr<Impl> m_impl;
337 #endif // header guard An object which represents an internet port number.
Definition: net.hpp:156
Beacon(std::uint32_t partitionID, const std::string &serviceType, const std::string &serviceIdentifier, const char *payload, std::size_t payloadSize, std::chrono::milliseconds period, const ip::Address &networkInterface, ip::Port port)
Constructor.
Contains the coral::net::Reactor class and related functionality.
Main module header for coral::net.
A class for broadcasting information about a service, so it can be automatically detected on a networ...
Definition: service.hpp:47
A class for keeping track of services on a network.
Definition: service.hpp:213
~Beacon() CORAL_NOEXCEPT
Destructor.
An object which identifies an internet host or network interface as either an IPv4 address or a textu...
Definition: net.hpp:80
An object which identifies an endpoint for Internet communication as a combination of an address and ...
Definition: net.hpp:209
Definition: variable_io.hpp:28
A class for detecting services on a network.
Definition: service.hpp:133
void Stop()
Stops broadcasting service information.
An implementation of the reactor pattern.
Definition: reactor.hpp:41