class MonitorPresenceWatcher extends java.lang.Object implements PresenceWatcher
Constructor and Description |
---|
MonitorPresenceWatcher(com.ircclouds.irc.api.IRCApi irc,
com.ircclouds.irc.api.state.IIRCState connectionState,
java.util.Set<java.lang.String> nickWatchList,
java.util.Set<java.lang.String> monitored,
OperationSetPersistentPresenceIrcImpl operationSet,
int maxListSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String nick)
Add a nick to the list.
|
void |
remove(java.lang.String nick)
Remove a nick from the list.
|
MonitorPresenceWatcher(com.ircclouds.irc.api.IRCApi irc, com.ircclouds.irc.api.state.IIRCState connectionState, java.util.Set<java.lang.String> nickWatchList, java.util.Set<java.lang.String> monitored, OperationSetPersistentPresenceIrcImpl operationSet, int maxListSize)
irc
- the IRCApi instanceconnectionState
- the connection statenickWatchList
- SYNCHRONIZED the nick watch listmonitored
- SYNCHRONIZED The shared collection which contains all
the nicks that are confirmed to be subscribed to the MONITOR
command.operationSet
- the persistent presence operation setpublic void add(java.lang.String nick)
PresenceWatcher
add
in interface PresenceWatcher
nick
- the nickpublic void remove(java.lang.String nick)
PresenceWatcher
remove
in interface PresenceWatcher
nick
- the nick
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.