aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/irc/PresenceWatcher.java
blob: dfd917d8cef7d39cc90f82c6e2118c49d763e8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.protocol.irc;

/**
 * Interface of the presence watcher.
 * 
 * This interface defines the requirements of a presence watcher. The watcher is
 * used to update contact presence for a selection of nicks.
 * 
 * @author Danny van Heumen
 */
public interface PresenceWatcher
{
    /**
     * Add a nick to the list.
     *
     * @param nick the nick
     */
    void add(String nick);

    /**
     * Remove a nick from the list.
     *
     * @param nick the nick
     */
    void remove(String nick);
}