JML

net.sf.jml
Interface DisplayPictureListener


public interface DisplayPictureListener

This interface is used to be notified about the progress of the display picture (also emoticons) retrieval.

Author:
Angel Barragán Chacón

Nested Class Summary
static class DisplayPictureListener.ResultStatus
          Types of finalization for the MsnObject request process.
 
Method Summary
 void notifyMsnObjectRetrieval(MsnMessenger messenger, DisplayPictureRetrieveWorker worker, MsnObject msnObject, DisplayPictureListener.ResultStatus result, byte[] resultBytes, Object context)
          Notify about the MsnObject finalization retrieval.
 

Method Detail

notifyMsnObjectRetrieval

void notifyMsnObjectRetrieval(MsnMessenger messenger,
                              DisplayPictureRetrieveWorker worker,
                              MsnObject msnObject,
                              DisplayPictureListener.ResultStatus result,
                              byte[] resultBytes,
                              Object context)
Notify about the MsnObject finalization retrieval.

Parameters:
messenger - Instance of the messenger we are working with.
worker - MsnObject retrieved.
msnObject - Instance of the MsnObject retrieved.
result - Type of result for the process.
resultBytes - Bytes of data returned.
context - Context for the result. For FILE_ACCESS_ERROR and INKNOWN, it is the exception instance for the error. For PROTOCOL_ERROR, it is an instance of Integer with the P2P flag field value.

JML