⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sessionfilteradapter.java

📁 银行项目为后台socket通信写的程序
💻 JAVA
字号:
/****************************************************************************
 * Package		: com.ecSolutions.ecAppServer.server
 * File			: SessionFilterAdapter.java
 * Create Date  : 2007-7-20
 * Author		: Steven Chen
 * 
 * Copyright(C) 2006 ecSolutions(shanghai) Co.,Limited.All Rights Reserved.
 *			
 ***************************************************************************/

package com.ecSolutions.ecAppServer.server;

/**
 * <code>SessionFilter</code> adapter.
 * 
 * @author Steven Chen
 * @version $Id: SessionFilterAdapter.java,v 1.2 2007/07/26 04:10:42 stevenchen Exp $
 */
public class SessionFilterAdapter implements SessionFilter {

    public void exceptionCaught(SessionFilterChain filterChain, Throwable cause) {
        filterChain.exceptionCaught(cause);
    }

    public void packetReceived(SessionFilterChain filterChain, Packet packet)
            throws Exception {
        filterChain.packetReceived(packet);
    }

    public void objectReceived(SessionFilterChain filterChain, Object obj)
            throws Exception {
        filterChain.objectReceived(obj);
    }

    public void packetSend(SessionFilterChain filterChain, Packet packet)
            throws Exception {
        filterChain.packetSend(packet);
    }

    public void packetSent(SessionFilterChain filterChain, Packet packet)
            throws Exception {
        filterChain.packetSent(packet);
    }

    public void objectSent(SessionFilterChain filterChain, Object obj)
            throws Exception {
        filterChain.objectSent(obj);
    }

    public void sessionClosed(SessionFilterChain filterChain) throws Exception {
        filterChain.sessionClosed();
    }

    public void sessionStarted(SessionFilterChain filterChain) throws Exception {
        filterChain.sessionStarted();
    }

    public void sessionTimeout(SessionFilterChain filterChain) throws Exception {
        filterChain.sessionTimeout();
    }

}

⌨️ 快捷键说明

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