blob: dff4f5ea3ddd74df3f2ac9d5da7a23c52c949b1f [file] [log] [blame]
Harald Alvestrandad88c882018-11-28 16:47:46 +01001/*
2 * Copyright 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef API_DTLSTRANSPORTINTERFACE_H_
12#define API_DTLSTRANSPORTINTERFACE_H_
13
14#include "rtc_base/refcount.h"
15
16namespace webrtc {
17
18// A DTLS transport, as represented to the outside world.
19// Its role is to report state changes and errors, and make sure information
20// about remote certificates is available.
21class DtlsTransportInterface : public rtc::RefCountInterface {
22 public:
23 // TODO(hta): Need a notifier interface to transmit state changes and
24 // error events. The generic NotifierInterface of mediasteraminterface.h
25 // may be suitable, or may be copyable.
26};
27
28} // namespace webrtc
29
30#endif // API_DTLSTRANSPORTINTERFACE_H_