source: 3thparty/jmessenger/src/nu/fw/jeti/events/StatusChangeListener.java @ 3952

Revision 3952, 770 bytes checked in by alexandrecorreia, 13 years ago (diff)

Ticket #1710 - Adicao do codigo fonte java do componente jmessenger(jabberit_messenger)

  • Property svn:executable set to *
Line 
1package nu.fw.jeti.events;
2
3/**
4 * The listener interface for receiving status events.
5 * @author E.S. de Boer
6 * @version 1.0
7 */
8
9public interface StatusChangeListener extends JETIListener
10{
11
12        /**
13         * Called when the connection status has changed.
14         * @param online true when the connection is online
15         */
16        void connectionChanged(boolean online);
17
18        /**
19         * Called when you have changed your own presence status
20         * @param show The new show status, one of Presence FREE_FOR_CHAT, AVAILABLE, AWAY, DND, XA or UNAVAILABLE.
21         * @param status The new status message (can be null)
22         */
23        void ownPresenceChanged(int show, String status);
24
25        /**
26         * Called when Jeti will be closed
27         */
28        void exit();
29}
30/*
31 * Overrides for emacs
32 * Local variables:
33 * tab-width: 4
34 * End:
35 */
Note: See TracBrowser for help on using the repository browser.