net.kano.joscar.snac
Interface OutgoingSnacRequestListener

All Known Subinterfaces:
SnacRequestListener
All Known Implementing Classes:
SnacRequestAdapter

public interface OutgoingSnacRequestListener

An interface for listening for events related to sending outgoing SNAC requests.

See Also:
ClientSnacProcessor.addGlobalRequestListener(net.kano.joscar.snac.OutgoingSnacRequestListener)

Method Summary
 void handleSent(SnacRequestSentEvent e)
          Called when an outgoing SNAC request was sent over a SNAC connection.
 void handleTimeout(SnacRequestTimeoutEvent event)
          Called when a SNAC packet "times out" and is removed from the request list of its parent ClientSnacProcessor.
 

Method Detail

handleSent

public void handleSent(SnacRequestSentEvent e)
Called when an outgoing SNAC request was sent over a SNAC connection. This method will be called only once for each request this listener has been added to.

Parameters:
e - an object describing the event

handleTimeout

public void handleTimeout(SnacRequestTimeoutEvent event)
Called when a SNAC packet "times out" and is removed from the request list of its parent ClientSnacProcessor. This will be called only once for each request to which this listener has been added.

Parameters:
event - an object describing the event