Package com.biglybt.plugin.net.buddy
Class BuddyPluginBeta.ChatParticipant
java.lang.Object
com.biglybt.plugin.net.buddy.BuddyPluginBeta.ChatParticipant
- Enclosing class:
BuddyPluginBeta
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BuddyPluginBeta.ChatInstance
private byte[]
private boolean
private Boolean
private boolean
private boolean
private boolean
private String
private List
<BuddyPluginBeta.ChatMessage> private final byte[]
private boolean
private long
private long
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ChatParticipant
(BuddyPluginBeta.ChatInstance _chat, byte[] _pk) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addMessage
(BuddyPluginBeta.ChatMessage message) boolean
protected void
private String
formatZone
(long zone_secs) getChat()
int
int
getMessageCount
(boolean explicit_only) getName()
getName
(boolean use_nick) private long
private String
byte[]
boolean
boolean
boolean
isMe()
boolean
boolean
isNickClash
(boolean ignore_hidden) boolean
isPinned()
boolean
private int
removeMessage
(BuddyPluginBeta.ChatMessage message) private boolean
replayMessage
(BuddyPluginBeta.ChatMessage message) private void
void
setIgnored
(boolean b) private void
setNickClash
(boolean b) void
setPinned
(boolean b) void
setProfileData
(List<String> d) private void
setProperty
(String name, boolean value) private void
setProperty
(String name, List<String> value) void
setSpammer
(boolean b)
-
Field Details
-
chat
-
pk
private final byte[] pk -
nickname
-
is_ignored
private boolean is_ignored -
is_spammer
private boolean is_spammer -
is_pinned
private boolean is_pinned -
nick_clash
private boolean nick_clash -
participant_messages
-
is_me
-
friend_key
private byte[] friend_key -
zone_offset
private long zone_offset -
profile_data_cache
-
profile_data
-
profile_data_peeked
private boolean profile_data_peeked -
profile_data_set
private long profile_data_set
-
-
Constructor Details
-
ChatParticipant
-
-
Method Details
-
getChat
-
getPublicKey
public byte[] getPublicKey() -
getContact
-
getAddress
-
isMe
public boolean isMe() -
getName
-
getName
-
hasNickname
public boolean hasNickname() -
getFriendKey
-
getFriendStatus
public int getFriendStatus() -
checkProfileData
protected void checkProfileData() -
getZoneOffset
-
formatZone
-
getProfileData
-
setProfileData
-
getProfileDataAgeMillis
private long getProfileDataAgeMillis() -
addMessage
-
replayMessage
-
removeMessage
-
resetMessages
private void resetMessages() -
getMessages
-
getMessageCount
public int getMessageCount(boolean explicit_only) -
isIgnored
public boolean isIgnored() -
setIgnored
public void setIgnored(boolean b) -
isSpammer
public boolean isSpammer() -
canSpammer
public boolean canSpammer() -
setSpammer
public void setSpammer(boolean b) -
isPinned
public boolean isPinned() -
getPropsKey
-
setPinned
public void setPinned(boolean b) -
setProperty
-
setProperty
-
isNickClash
public boolean isNickClash() -
isNickClash
public boolean isNickClash(boolean ignore_hidden) -
setNickClash
private void setNickClash(boolean b) -
createPrivateChat
- Throws:
Exception
-