Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
iresolver_request_handler.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_netio/target_libuv/roc_netio/iresolver_request_handler.h
10
//! @brief Resolver request result handler interface.
11
12
#ifndef ROC_NETIO_IRESOLVER_REQUEST_HANDLER_H_
13
#define ROC_NETIO_IRESOLVER_REQUEST_HANDLER_H_
14
15
#include "
roc_netio/resolver_request.h
"
16
17
namespace
roc
{
18
namespace
netio {
19
20
//! Resolver request result handler interface.
21
class
IResolverRequestHandler
{
22
public
:
23
virtual
~
IResolverRequestHandler
();
24
25
//! Invoked on event loop thread when resolve request is finished.
26
virtual
void
handle_resolved
(
ResolverRequest
& req) = 0;
27
};
28
29
}
// namespace netio
30
}
// namespace roc
31
32
#endif
// ROC_NETIO_IRESOLVER_REQUEST_HANDLER_H_
roc::netio::IResolverRequestHandler
Resolver request result handler interface.
Definition:
iresolver_request_handler.h:21
roc::netio::IResolverRequestHandler::handle_resolved
virtual void handle_resolved(ResolverRequest &req)=0
Invoked on event loop thread when resolve request is finished.
roc
Root namespace.
resolver_request.h
Resolver request.
roc::netio::ResolverRequest
Resolver request.
Definition:
resolver_request.h:24
roc_netio
target_libuv
roc_netio
iresolver_request_handler.h
Generated by
1.9.1