Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
p2psignalingsenderinterface.h
1 // Copyright (C) <2018> Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 #ifndef OWT_P2P_SIGNALINGSENDERINTERFACE_H_
5 #define OWT_P2P_SIGNALINGSENDERINTERFACE_H_
6 #include <functional>
7 #include <memory>
8 #include <string>
9 #include "owt/base/exception.h"
10 namespace owt {
11 namespace p2p {
18 class P2PSignalingSenderInterface {
19  public:
20  virtual ~P2PSignalingSenderInterface() {}
22  virtual void SendSignalingMessage(const std::string& message,
23  const std::string& remote_id,
24  std::function<void()> success,
25  std::function<void(std::unique_ptr<owt::base::Exception>)> failure) = 0;
26 };
27 }
28 }
30 #endif // OWT_P2P_SIGNALINGSENDERINTERFACE_H_
Definition: audioplayerinterface.h:8