Fawkes API  Fawkes Development Version
fawkes::DummyServicePublisher Class Reference

Dummy service publisher interface. More...

#include <>>

Inheritance diagram for fawkes::DummyServicePublisher:

Public Member Functions

 DummyServicePublisher ()
 Constructor. More...
 
virtual ~DummyServicePublisher ()
 Virtual empty destructor. More...
 
virtual void publish_service (NetworkService *service)
 Publish service. More...
 
virtual void unpublish_service (NetworkService *service)
 Revoke service publication. More...
 
- Public Member Functions inherited from fawkes::ServicePublisher
virtual ~ServicePublisher ()
 Virtual empty destructor. More...
 

Detailed Description

Dummy service publisher interface.

Does nothing, used to fulfill NetworkAspect guarantees if Avahi is not available.

Definition at line 31 of file dummy_service_publisher.h.

Constructor & Destructor Documentation

◆ DummyServicePublisher()

fawkes::DummyServicePublisher::DummyServicePublisher ( )

Constructor.

Definition at line 34 of file dummy_service_publisher.cpp.

◆ ~DummyServicePublisher()

fawkes::DummyServicePublisher::~DummyServicePublisher ( )
virtual

Virtual empty destructor.

Definition at line 39 of file dummy_service_publisher.cpp.

Member Function Documentation

◆ publish_service()

void fawkes::DummyServicePublisher::publish_service ( NetworkService service)
virtual

Publish service.

Parameters
serviceservice to publish

Implements fawkes::ServicePublisher.

Definition at line 45 of file dummy_service_publisher.cpp.

◆ unpublish_service()

void fawkes::DummyServicePublisher::unpublish_service ( NetworkService service)
virtual

Revoke service publication.

Parameters
serviceservice to revoke

Implements fawkes::ServicePublisher.

Definition at line 51 of file dummy_service_publisher.cpp.


The documentation for this class was generated from the following files: