KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > callback > InvokerCallbackHandler


1 /***************************************
2  * *
3  * JBoss: The OpenSource J2EE WebOS *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9 package org.jboss.remoting.callback;
10
11
12 /**
13  * Should be used a receiver of asynchronous callbacks for registered listeners.
14  * Upon being called with a callback message, will send back to the client.
15  *
16  * @author <a HREF="mailto:telrod@e2technologies.net">Tom Elrod</a>
17  * @version $Revision: 1.2 $
18  */

19 public interface InvokerCallbackHandler
20 {
21    /**
22     * Will take the callback message and send back to client.
23     * If client locator is null, will store them till client polls to get them.
24     *
25     * @param callback
26     * @throws HandleCallbackException
27     */

28    public void handleCallback(Callback callback)
29          throws HandleCallbackException;
30
31 }
32
Popular Tags