Searched refs:channel_ (Results 1 – 4 of 4) sorted by relevance
20 bool Client::IsConnected() const { return channel_.get() != nullptr; } in IsConnected()32 channel_ = status.take(); in CheckReconnect()61 : channel_{std::move(channel)} {} in Client()72 channel_ = status.take();91 status = channel_->SendImpulse(opcode, nullptr, 0); in SendImpulse()104 status = channel_->SendImpulse(opcode, buffer, length); in SendImpulse()110 channel_.reset(); in Close()116 return IsConnected() ? channel_->event_fd() : -1; in event_fd()120 return channel_->GetChannelHandle(); in GetChannelHandle()
27 channel_{Channel::GetFromMessageInfo(info)},45 std::swap(channel_, other.channel_); in operator =()68 channel_.reset(); in Destroy()436 std::shared_ptr<Channel> Message::GetChannel() const { return channel_.lock(); } in GetChannel()439 channel_ = chan; in SetChannel()
125 ClientChannel* GetChannel() const { return channel_.get(); } in GetChannel()126 std::unique_ptr<ClientChannel>&& TakeChannel() { return std::move(channel_); } in TakeChannel()142 std::unique_ptr<ClientChannel> channel_; variable
327 bool IsChannelExpired() const { return channel_.expired(); } in IsChannelExpired()347 std::weak_ptr<Channel> channel_; variable