KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > 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;
10
11
12
13
14 /**
15  * Should be used a receiver of asynchronous callbacks for registered listeners.
16  * Upon being called with a callback message, will send back to the client.
17  *
18  * @author <a HREF="mailto:telrod@e2technologies.net">Tom Elrod</a>
19  * @version $Revision: 1.3.12.2 $
20  */

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

30     public void handleCallback(InvocationRequest invocation)
31             throws HandleCallbackException;
32
33 }
34
Popular Tags