14 : channel_(other.channel_),
15 my_stream_id_(other.my_stream_id_),
16 in_(std::move(other.in_)),
17 out_(std::move(other.out_)) {
18 other.channel_ =
nullptr;
19 other.my_stream_id_ = 0;
20 other.in_ = LinkInputStream();
21 other.out_ = LinkOutputStream();
26 channel_ = other.channel_;
27 my_stream_id_ = other.my_stream_id_;
28 in_ = std::move(other.in_);
29 out_ = std::move(other.out_);
30 other.channel_ =
nullptr;
31 other.my_stream_id_ = 0;
32 other.in_ = LinkInputStream();
33 other.out_ = LinkOutputStream();