KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > RoutableChannelHandler


1 /**
2  * $RCSfile: RoutableChannelHandler.java,v $
3  * $Revision: 1.3 $
4  * $Date: 2004/12/01 18:31:17 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.messenger;
13
14 import org.xmpp.packet.JID;
15
16 /**
17  *
18  *
19  * @author Matt Tucker
20  */

21 public interface RoutableChannelHandler extends ChannelHandler {
22
23     /**
24       * Returns the XMPP address. The address is used by services like the core
25       * server packet router to determine if a packet should be sent to the handler.
26       * Handlers that are working on behalf of the server should use the generic server
27       * hostname address (e.g. server.com).
28       *
29       * @return the XMPP address.
30       */

31      public JID getAddress();
32 }
33
Popular Tags