Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
inetwork_task_completer.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 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/inetwork_task_completer.h
10//! @brief Network task completion handler.
11
12#ifndef ROC_NETIO_INETWORK_TASK_COMPLETER_H_
13#define ROC_NETIO_INETWORK_TASK_COMPLETER_H_
14
16
17namespace roc {
18namespace netio {
19
20//! Network task completion handler.
22public:
23 virtual ~INetworkTaskCompleter();
24
25 //! Invoked when network task is completed.
26 //! Should not block.
28};
29
30} // namespace netio
31} // namespace roc
32
33#endif // ROC_NETIO_INETWORK_TASK_COMPLETER_H_
Network task completion handler.
virtual void network_task_completed(NetworkTask &)=0
Invoked when network task is completed. Should not block.
Base class for network loop tasks.
Root namespace.
Network task.