#include <chatuserblocklist.h>
◆ ttv::chat::ChatUserBlockList::ChangeRequest
| struct ttv::chat::ChatUserBlockList::ChangeRequest |
◆ BlockChangeCallback
◆ FetchBlockedUsersCallback
◆ SetReference
◆ State
| Enumerator |
|---|
| Uninitialized | |
| Initialized | |
| ShuttingDown | |
| Inert | The component doesn't require shutting down.
|
◆ ChatUserBlockList()
| ttv::chat::ChatUserBlockList::ChatUserBlockList |
( |
std::shared_ptr< User > |
user | ) |
|
◆ ~ChatUserBlockList()
| virtual ttv::chat::ChatUserBlockList::~ChatUserBlockList |
( |
| ) |
|
|
virtual |
◆ BlockUser() [1/2]
◆ BlockUser() [2/2]
| TTV_ErrorCode ttv::chat::ChatUserBlockList::BlockUser |
( |
const std::string & |
userName, |
|
|
const std::string & |
reason, |
|
|
bool |
whisper, |
|
|
const BlockChangeCallback & |
= nullptr |
|
) |
| |
◆ CancelRequestsForUser()
| void ttv::chat::ChatUserBlockList::CancelRequestsForUser |
( |
UserId |
blockUserId | ) |
|
|
private |
◆ CheckShutdown()
| virtual bool ttv::chat::ChatUserBlockList::CheckShutdown |
( |
| ) |
|
|
overrideprivatevirtual |
◆ CompleteShutdown()
| virtual void ttv::UserComponent::CompleteShutdown |
( |
| ) |
|
|
overrideprotectedvirtualinherited |
Reimplemented from ttv::Component.
Reimplemented in ttv::PubSubClient, ttv::broadcast::Streamer, ttv::social::FriendList, ttv::chat::ChatUserThread, ttv::chat::ChatUserThreads, ttv::social::Presence, ttv::PubSubComponent< LISTENER >, ttv::PubSubComponent< IChatChannelPropertyListener >, ttv::PubSubComponent< IChannelChatRoomManagerListener >, ttv::PubSubComponent< IChannelListener >, ttv::PubSubComponent< IFollowersListener >, ttv::PubSubComponent< IChatRoomListener >, ttv::PubSubComponent< UserEmoticonSetsListener >, ttv::PubSubComponent< IChatRaidListener >, ttv::PubSubComponent< IBitsListener >, ttv::PubSubComponent< IChatRoomNotificationsListener >, ttv::PubSubComponent< ISubscribersListener >, ttv::broadcast::IngestTester, ttv::chat::ChatChannelSet, ttv::chat::ChatRaid, ttv::ChannelStatus, and ttv::PubSubComponentBase.
◆ CompleteTask()
| void ttv::Component::CompleteTask |
( |
Task * |
task | ) |
|
|
protectedinherited |
◆ FetchBlockedUsers()
◆ FetchPage()
| void ttv::chat::ChatUserBlockList::FetchPage |
( |
uint |
offset, |
|
|
uint |
limit |
|
) |
| |
|
private |
◆ GetBlockedUsers()
| void ttv::chat::ChatUserBlockList::GetBlockedUsers |
( |
std::unordered_set< UserId > & |
result | ) |
const |
◆ GetComponentName()
| static std::string ttv::chat::ChatUserBlockList::GetComponentName |
( |
| ) |
|
|
inlinestatic |
◆ GetLoggerName()
| virtual std::string ttv::chat::ChatUserBlockList::GetLoggerName |
( |
| ) |
const |
|
overridevirtual |
◆ GetRefreshInterval()
| uint64_t ttv::chat::ChatUserBlockList::GetRefreshInterval |
( |
| ) |
const |
|
inline |
◆ GetState()
| virtual State ttv::Component::GetState |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetTaskRunner()
| std::shared_ptr<TaskRunner> ttv::Component::GetTaskRunner |
( |
| ) |
|
|
inlineinherited |
◆ GetUser()
| std::shared_ptr<User> ttv::chat::ChatUserBlockList::GetUser |
( |
| ) |
|
|
inline |
◆ Initialize()
◆ IsRefreshInProgress()
| bool ttv::chat::ChatUserBlockList::IsRefreshInProgress |
( |
| ) |
const |
|
private |
◆ IsTaskRunning()
| bool ttv::Component::IsTaskRunning |
( |
Task * |
task | ) |
const |
|
protectedinherited |
◆ IsUserBlocked()
| bool ttv::chat::ChatUserBlockList::IsUserBlocked |
( |
UserId |
userId | ) |
|
◆ Log()
| void ttv::UserComponent::Log |
( |
TTV_MessageLevel |
level, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
protectedinherited |
◆ OnUserAuthenticationIssue()
| virtual void ttv::UserComponent::OnUserAuthenticationIssue |
( |
std::shared_ptr< const OAuthToken > |
oauthToken, |
|
|
TTV_ErrorCode |
ec |
|
) |
| |
|
protectedvirtualinherited |
◆ OnUserInfoFetchComplete()
| virtual void ttv::UserComponent::OnUserInfoFetchComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ OnUserLogInComplete()
| virtual void ttv::UserComponent::OnUserLogInComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ OnUserLogOutComplete()
| virtual void ttv::UserComponent::OnUserLogOutComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ ProcessNextRequest()
| void ttv::chat::ChatUserBlockList::ProcessNextRequest |
( |
| ) |
|
|
private |
◆ RefreshComplete()
| void ttv::chat::ChatUserBlockList::RefreshComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
private |
◆ ScheduleRequest()
| void ttv::chat::ChatUserBlockList::ScheduleRequest |
( |
UserId |
blockUserId, |
|
|
bool |
block, |
|
|
const std::string & |
reason, |
|
|
bool |
whisper, |
|
|
const BlockChangeCallback & |
callback |
|
) |
| |
|
private |
◆ SetClientState()
| virtual void ttv::Component::SetClientState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetLocalValue()
| void ttv::chat::ChatUserBlockList::SetLocalValue |
( |
SetReference |
set, |
|
|
UserId |
blockUserId, |
|
|
bool |
block |
|
) |
| |
|
private |
◆ SetRefreshInterval()
| void ttv::chat::ChatUserBlockList::SetRefreshInterval |
( |
uint64_t |
milliseconds | ) |
|
◆ SetServerState()
| virtual void ttv::Component::SetServerState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetState()
| virtual void ttv::Component::SetState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetTaskRunner()
| virtual void ttv::Component::SetTaskRunner |
( |
std::shared_ptr< TaskRunner > |
taskRunner | ) |
|
|
virtualinherited |
◆ Shutdown()
◆ StartTask()
◆ UnblockUser() [1/2]
◆ UnblockUser() [2/2]
◆ Update()
| virtual void ttv::chat::ChatUserBlockList::Update |
( |
| ) |
|
|
overridevirtual |
◆ UpdateList()
◆ mBlockedUsers
The current set of users.
◆ mBlockedUsersCallbacks
◆ mOAuthIssue
| bool ttv::UserComponent::mOAuthIssue |
|
protectedinherited |
Whether or not the internal updates of the component are on hold because of an issue with the OAuth token.
◆ mQueuedChanges
| std::vector<ChangeRequest> ttv::chat::ChatUserBlockList::mQueuedChanges |
|
private |
The set of server changes that are queued while a refresh is in progress.
◆ mRefreshIntervalMilliseconds
| uint64_t ttv::chat::ChatUserBlockList::mRefreshIntervalMilliseconds |
|
private |
◆ mRefreshResult
◆ mRefreshTimer
◆ mRefreshUsers
The set of users incrementally built during a refresh.
◆ mRunningChangeTask
◆ mRunningGetListTask
◆ mRunningTasks
| std::vector<std::shared_ptr<Task> > ttv::Component::mRunningTasks |
|
protectedinherited |
◆ mShutdownTimeMilliseconds
| uint64_t ttv::Component::mShutdownTimeMilliseconds |
|
protectedinherited |
◆ mState
◆ mTaskMutex
| std::mutex ttv::Component::mTaskMutex |
|
mutableprotectedinherited |
◆ mTaskRunner
| std::shared_ptr<TaskRunner> ttv::Component::mTaskRunner |
|
protectedinherited |
◆ mUser
| std::weak_ptr<User> ttv::UserComponent::mUser |
|
protectedinherited |
◆ mUserInfoList
| std::vector<UserInfo> ttv::chat::ChatUserBlockList::mUserInfoList |
|
private |
List of UserInfos fetched.
◆ mUserRepository
| std::weak_ptr<UserRepository> ttv::chat::ChatUserBlockList::mUserRepository |
|
private |
The documentation for this class was generated from the following file: