multiplexerlistener.java

来自「一个java方面的消息订阅发送的源码」· Java 代码 · 共 33 行

JAVA
33
字号
package org.exolab.jms.net.multiplexer;



/**
 * Listener for {@link Multiplexer} events
 *
 * @author <a href="mailto:tma@netspace.net.au">Tim Anderson</a>
 * @version $Revision: 1.2 $ $Date: 2005/05/30 13:34:50 $
 */
public interface MultiplexerListener {

    /**
     * Invoked for an invocation request
     *
     * @param channel the channel the invocation is on
     */
    void request(Channel channel);

    /**
     * Invoked when the connection is closed by the peer.
     */
    void closed();

    /**
     * Invoked when an error occurs on the multiplexer
     *
     * @param error the error
     */
    void error(Throwable error);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?