implement PollDemuxer