// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CAST_COMMON_CHANNEL_VIRTUAL_CONNECTION_H_ #define CAST_COMMON_CHANNEL_VIRTUAL_CONNECTION_H_ #include <array> #include <cstdint> #include <string> namespace openscreen::cast { // Transport system on top of CastSocket that allows routing messages over a // single socket to different virtual endpoints (e.g. system messages vs. // messages for a particular app). struct VirtualConnection { … }; inline bool operator==(const VirtualConnection& a, const VirtualConnection& b) { … } inline bool operator!=(const VirtualConnection& a, const VirtualConnection& b) { … } } // namespace openscreen::cast #endif // CAST_COMMON_CHANNEL_VIRTUAL_CONNECTION_H_