net.sf.jqql
Class DiskFamilyProcessor
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiskFamilyProcessor
public DiskFamilyProcessor(QQClient client)
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表示接收