JML

net.sf.jqql
Class DiskFamilyProcessor

java.lang.Object
  extended by net.sf.jqql.DiskFamilyProcessor
All Implemented Interfaces:
IPacketListener

public class DiskFamilyProcessor
extends Object
implements IPacketListener

Event processor in the package of disk protocol family disk协议族包事件处理器

Author:
luma

Constructor Summary
DiskFamilyProcessor(QQClient client)
           
 
Method Summary
 boolean accept(InPacket in)
          Indicate whether accept the packet or not.
 void packetArrived(PacketEvent e)
          call when the packet arrives.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskFamilyProcessor

public DiskFamilyProcessor(QQClient client)
Method Detail

packetArrived

public void packetArrived(PacketEvent e)
Description copied from interface: IPacketListener
call when the packet arrives. 包到达时调用此方法

Specified by:
packetArrived in interface IPacketListener

accept

public boolean accept(InPacket in)
Description copied from interface: IPacketListener
Indicate whether accept the packet or not. 是否接收某个输入包

Specified by:
accept in interface IPacketListener
Parameters:
in - InPacket subclass InPacket子类
Returns:
true indicates to accept true表示接收

JML