📄 sessionfilterchain.java
字号:
/****************************************************************************
* Package : com.ecSolutions.ecAppServer.server
* File : SessionFilterChain.java
* Create Date : 2007-7-20
* Author : Steven Chen
*
* Copyright(C) 2006 ecSolutions(shanghai) Co.,Limited.All Rights Reserved.
*
***************************************************************************/
package com.ecSolutions.ecAppServer.server;
/**
* Session filter chain, manage session filters.
*
* @author Steven Chen
* @version $Id: SessionFilterChain.java,v 1.2 2007/07/26 04:10:42 stevenchen Exp $
*/
public interface SessionFilterChain {
/**
* Get session associated with the session filter chain.
*
* @return session
*/
Session getSession();
/**
* Session have established.
*/
void sessionStarted();
/**
* Session have closed or refused.
*/
void sessionClosed();
/**
* Session timeout, but not closed.
*/
void sessionTimeout();
/**
* Session received a packet.
*
* @param packet
* the received packet
*/
void packetReceived(Packet packet);
/**
* Session received a object which is decoded by <code>PacketDecoder</code>.
*
* @param obj
* object
*/
void objectReceived(Object obj);
/**
* Filter before send packet.
*
* @param packet
* send packet
*/
void packetSend(Packet packet);
/**
* Session sent a packet.
*
* @param packet
* the sent packet
*/
void packetSent(Packet packet);
/**
* Session sent a object.
*
* @param obj
* the sent object
*/
void objectSent(Object obj);
/**
* Session caught a exception.
*
* @param cause
* exception
*/
void exceptionCaught(Throwable cause);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -