net.sf.wallace
Interface Command

All Known Implementing Classes:
AbstractCommand, AuthCommand, NonAuthCommand, SelectCommand

public interface Command

A command, applying an IMAP message to a session.

Author:
rnewson

Method Summary
 void execute(WallaceSession wallaceSession)
          Execute this command against the given session using data from the supplied message.
 

Method Detail

execute

void execute(WallaceSession wallaceSession)
             throws InvalidStateException,
                    javax.mail.MessagingException
Execute this command against the given session using data from the supplied message.

Parameters:
wallaceSession - the session to apply the message to.
Throws:
InvalidStateException - if the session is not in an appropriate state for this command (SELECT before LOGIN, for example).
javax.mail.MessagingException


Copyright © 2004-2005 Robert Newson. All Rights Reserved.