|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.knup.jedi.jayshare.Fileshare.FileshareListener
Field Summary | |
(package private) JayPacketListener |
listener
|
(package private) Status |
status
|
Constructor Summary | |
FileshareListener(JayPacketListener listener,
Status status)
|
Method Summary | |
void |
receivedPacket(PacketEvent event)
called when a packet is received and processed. |
void |
sendFailed(PacketEvent event)
called if a packet is not successfully sent (for instance, if the connection dies while the packet is queued, or a packet is sent while disconnected). |
void |
sentPacket(PacketEvent event)
called whenever a local client sends a packet, after the sending is successful |
Methods inherited from class java.lang.Object |
|
Field Detail |
JayPacketListener listener
Status status
Constructor Detail |
public FileshareListener(JayPacketListener listener, Status status)
Method Detail |
public void sentPacket(PacketEvent event)
pe
- PacketEvent that has just been sentpublic void sendFailed(PacketEvent event)
pe
- PacketEvent for the failed sendpublic void receivedPacket(PacketEvent event)
pe
- PacketEvent that has just been received.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |