KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exolab > jms > net > multiplexer > MultiplexerListener


1 package org.exolab.jms.net.multiplexer;
2
3
4
5 /**
6  * Listener for {@link Multiplexer} events
7  *
8  * @author <a HREF="mailto:tma@netspace.net.au">Tim Anderson</a>
9  * @version $Revision: 1.2 $ $Date: 2005/05/30 13:34:50 $
10  */

11 public interface MultiplexerListener {
12
13     /**
14      * Invoked for an invocation request
15      *
16      * @param channel the channel the invocation is on
17      */

18     void request(Channel channel);
19
20     /**
21      * Invoked when the connection is closed by the peer.
22      */

23     void closed();
24
25     /**
26      * Invoked when an error occurs on the multiplexer
27      *
28      * @param error the error
29      */

30     void error(Throwable JavaDoc error);
31
32 }
33
Popular Tags