org.apache.geronimo.javamail.store.imap.connection
Interface IMAPUntaggedResponseHandler

All Known Implementing Classes:
IMAPFolder, IMAPNamespaceFolder, IMAPRootFolder, IMAPSSLStore, IMAPStore

public interface IMAPUntaggedResponseHandler


Method Summary
 boolean handleResponse(IMAPUntaggedResponse response)
          Handle an unsolicited untagged response receive back from a command.
 

Method Detail

handleResponse

boolean handleResponse(IMAPUntaggedResponse response)
Handle an unsolicited untagged response receive back from a command. This will be any responses left over after the command has cherry picked the bits that are relevent to the command just issued. It is important that the unsolicited response be reacted to in order to keep the message caches in sync.

Parameters:
response - The response to handle.
Returns:
true if the handle took care of the response and it should not be sent to additional handlers. false if broadcasting of the response should continue.


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.