pl.mn.communicator.event
Interface GGPacketListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
GGPacketListener.Stub

public interface GGPacketListener
extends java.util.EventListener

The listener interface for receiving packet related events.

The class that implements this interface, so-called GGPacketHandler is notified of packet sent and received events.

It is highly recommended that this listener is only used by an experienced developer that really knows how to handle events.

Created on 2004-12-11

Version:
$Id: GGPacketListener.java,v 1.1 2005/11/05 23:34:53 winnetou25 Exp $
Author:
Mateusz Szczap

Nested Class Summary
static class GGPacketListener.Stub
           
 
Method Summary
 void receivedPacket(GGIncomingPackage incomingPacket)
          Notification that Gadu-Gadu incoming packet has been received.
 void sentPacket(GGOutgoingPackage outgoingPacket)
          Notification that Gadu-Gadu outgoing packet has been sent to the Gadu-Gadu server.
 

Method Detail

sentPacket

void sentPacket(GGOutgoingPackage outgoingPacket)
Notification that Gadu-Gadu outgoing packet has been sent to the Gadu-Gadu server.

Parameters:
outgoingPacket - the packet that has been sent to the Gadu-Gadu server.

receivedPacket

void receivedPacket(GGIncomingPackage incomingPacket)
Notification that Gadu-Gadu incoming packet has been received.

Parameters:
incomingPacket - the packet that has been received from the Gadu-Gadu server.


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.