Searched refs:ChannelMember (Results 1 – 3 of 3) sorted by relevance
55 int ChannelMember::s_member_id_ = 0;57 ChannelMember::ChannelMember(DataSocket* socket) in ChannelMember() function in ChannelMember72 ChannelMember::~ChannelMember() { in ~ChannelMember()75 bool ChannelMember::is_wait_request(DataSocket* ds) const { in is_wait_request()79 bool ChannelMember::TimedOut() { in TimedOut()83 std::string ChannelMember::GetPeerIdHeader() const { in GetPeerIdHeader()88 bool ChannelMember::NotifyOfOtherMember(const ChannelMember& other) { in NotifyOfOtherMember()96 std::string ChannelMember::GetEntry() const { in GetEntry()106 void ChannelMember::ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer) { in ForwardRequestToPeer()124 void ChannelMember::OnClosing(DataSocket* ds) { in OnClosing()[all …]
24 class ChannelMember {26 explicit ChannelMember(DataSocket* socket);27 ~ChannelMember();39 bool NotifyOfOtherMember(const ChannelMember& other);44 void ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer);70 typedef std::vector<ChannelMember*> Members;86 ChannelMember* Lookup(DataSocket* ds) const;90 ChannelMember* IsTargetedRequest(const DataSocket* ds) const;108 void BroadcastChangedState(const ChannelMember& member,113 std::string BuildResponseForNewMember(const ChannelMember& member,
101 ChannelMember* member = clients.Lookup(s); in main()116 ChannelMember* target = clients.IsTargetedRequest(s); in main()