Lines Matching refs:channel_id
373 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel() argument
376 return svc->PushChannel(this, flags, channel, channel_id); in PushChannel()
384 int* channel_id) { in PushChannel() argument
386 return service->PushChannel(this, flags, channel, channel_id); in PushChannel()
473 Status<void> Service::SetChannel(int channel_id, in SetChannel() argument
478 const auto status = endpoint_->SetChannel(channel_id, channel.get()); in SetChannel()
487 channels_.erase(channel_id); in SetChannel()
490 channels_[channel_id] = channel; in SetChannel()
492 channels_.erase(channel_id); in SetChannel()
497 std::shared_ptr<Channel> Service::GetChannel(int channel_id) const { in GetChannel()
501 auto search = channels_.find(channel_id); in GetChannel()
508 Status<void> Service::CloseChannel(int channel_id) { in CloseChannel() argument
512 const auto status = endpoint_->CloseChannel(channel_id); in CloseChannel()
516 channels_.erase(channel_id); in CloseChannel()
521 Status<void> Service::ModifyChannelEvents(int channel_id, int clear_mask, in ModifyChannelEvents() argument
524 return endpoint_->ModifyChannelEvents(channel_id, clear_mask, set_mask); in ModifyChannelEvents()
529 int* channel_id) { in PushChannel() argument
542 if (channel_id) in PushChannel()
543 *channel_id = channel_id_temp; in PushChannel()