Each object of this class represents a single element in the Blocked Users' List.
Field Summary |
||
Access | Data Type | Name |
public | CString | m_strUser |
public | CPtrList | m_BlockedUsers |
Constructor Summary |
||
CBlockedUserListElement() |
Destructor Summary |
||
~CBlockedUserListElement() |
Method Summary |
||
void | GetBlockedUserName(CString& str) |
Field Detail |
m_strUser
'Owner' of the list. For every user who has blocked one or more users, one object will be created on Chatter-jee Server
startup. Each object will contain the blocking user's name in this field.
For example, if user 'foo has blocked users 'foo1' and 'foo2', m_strUser will contain the string "foo".
m_BlockedUsers
This is a pointer list. Each element of this pointer list will point to a Message Packet.
The From field of this message packet will contain the blocked user's name.
For example, if user 'foo has blocked users 'foo1' and 'foo2', the pointer list will contain pointers to 2 message packets.
1 message packet will contain the string "foo1" in its From field and the other will contain the string "foo2".
Constructor Detail |
CBlockedUserListElement()
Constructs a Blocked Users List object. The m_strUser will be blank, and pointer list is empty.
Destructor Detail |
~CBlockedUserListElement()
Destroys a Blocked Users List object.
Method Detail |
GetBlockedUserName(CString& str)
Removes all Asterix (*) characters from str. Generally, str is a User name.