Searched refs:ChannelMember (Results 1 – 3 of 3) sorted by relevance
66 int ChannelMember::s_member_id_ = 0;68 ChannelMember::ChannelMember(DataSocket* socket) in ChannelMember() function in ChannelMember80 ChannelMember::~ChannelMember() { in ~ChannelMember()83 bool ChannelMember::is_wait_request(DataSocket* ds) const { in is_wait_request()87 bool ChannelMember::TimedOut() { in TimedOut()91 std::string ChannelMember::GetPeerIdHeader() const { in GetPeerIdHeader()96 bool ChannelMember::NotifyOfOtherMember(const ChannelMember& other) { in NotifyOfOtherMember()104 std::string ChannelMember::GetEntry() const { in GetEntry()110 void ChannelMember::ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer) { in ForwardRequestToPeer()128 void ChannelMember::OnClosing(DataSocket* ds) { in OnClosing()[all …]
41 class ChannelMember {43 explicit ChannelMember(DataSocket* socket);44 ~ChannelMember();56 bool NotifyOfOtherMember(const ChannelMember& other);61 void ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer);87 typedef std::vector<ChannelMember*> Members;103 ChannelMember* Lookup(DataSocket* ds) const;107 ChannelMember* IsTargetedRequest(const DataSocket* ds) const;125 void BroadcastChangedState(const ChannelMember& member,130 std::string BuildResponseForNewMember(const ChannelMember& member,
118 ChannelMember* member = clients.Lookup(s); in main()133 ChannelMember* target = clients.IsTargetedRequest(s); in main()