OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | |
6 #define BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | |
7 | |
8 #include <memory> | |
9 #include <string> | |
10 | |
11 #include "blimp/net/blimp_transport.h" | |
12 #include "net/base/ip_endpoint.h" | |
13 | |
14 namespace blimp { | |
15 | |
16 // Interface specific to engine transport on top of generic |BlimpTransport|. | |
17 class BlimpEngineTransport : public BlimpTransport { | |
Wez
2016/11/09 22:47:17
The GetLocalAddress() API only makes sense for an
perumaal
2016/11/10 02:05:05
I am reusing this for GRPC. Please see https://cod
| |
18 public: | |
19 ~BlimpEngineTransport() override {} | |
20 | |
21 // Obtains the local listening address. | |
22 virtual void GetLocalAddress(net::IPEndPoint* ip_address) const = 0; | |
23 }; | |
24 | |
25 } // namespace blimp | |
26 | |
27 #endif // BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | |
OLD | NEW |