linklocalhandler.h
/*
Copyright (c) 2012-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef LINKLOCALHANDLER_H__
#define LINKLOCALHANDLER_H__
#ifdef HAVE_MDNS
#include "linklocal.h"
#include "macros.h"
#include "gloox.h"
#include <string>
namespace gloox
{
namespace LinkLocal
{
// class Client;
class GLOOX_API Handler
{
public:
virtual void handleBrowseReply( const ServiceList& services ) = 0;
// /**
// *
// */
// virtual void handleClient( Client* client ) = 0;
};
}
}
#endif // HAVE_MDNS
#endif // LINKLOCALHANDLER_H__
gloox::LinkLocal::Handler
A base class that gets informed about advertised or removed XMPP services on the local network.
Definition linklocalhandler.h:42
gloox::LinkLocal::Handler::handleBrowseReply
virtual void handleBrowseReply(const ServiceList &services)=0
gloox::LinkLocal
Namespace holding all the Link-local-related structures and definitions.
Definition linklocal.h:33
gloox::LinkLocal::ServiceList
std::list< Service > ServiceList
Definition linklocal.h:71
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28