Module org.eclipse.angus.mail
Package org.eclipse.angus.mail.imap
Interface IMAPFolder.ProtocolCommand
- Enclosing class:
- IMAPFolder
public static interface IMAPFolder.ProtocolCommand
A simple interface for user-defined IMAP protocol commands.
-
Method Summary
-
Method Details
-
doCommand
Object doCommand(org.eclipse.angus.mail.imap.protocol.IMAPProtocol protocol) throws org.eclipse.angus.mail.iap.ProtocolException Execute the user-defined command using the supplied IMAPProtocol object.- Parameters:
protocol
- the IMAPProtocol for the connection- Returns:
- the results of the command
- Throws:
org.eclipse.angus.mail.iap.ProtocolException
- for protocol errors
-