|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPacketListener
Define two methods, one is triggerd when the packet arrives, and the other when the packet is sent out. 定义了两个方法,一个在包到达时触å‘,一个在包å‘é€å®Œæ—¶è§¦å‘
Method Summary | |
---|---|
boolean |
accept(InPacket in)
Indicate whether accept the packet or not. |
void |
packetArrived(PacketEvent e)
call when the packet arrives. |
Method Detail |
---|
void packetArrived(PacketEvent e)
e
- boolean accept(InPacket in)
in
- InPacket subclass
InPacketåç±»
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |