ePOST API

rice.email.proxy.imap.commands
Class AbstractImapCommand

java.lang.Object
  extended by rice.email.proxy.imap.commands.AbstractImapCommand
Direct Known Subclasses:
AppendCommand, AuthenticateCommand, BadSyntaxCommand, CapabilityCommand, CheckCommand, CloseCommand, CopyCommand, CreateCommand, DeleteCommand, ExamineCommand, ExpungeCommand, FetchCommand, IllegalStateCommand, ListCommand, LoginCommand, LogoutCommand, LsubCommand, NoopCommand, RenameCommand, SearchCommand, StatusCommand, StoreCommand, SubscribeCommand, UnsubscribeCommand

public abstract class AbstractImapCommand
extends java.lang.Object


Constructor Summary
AbstractImapCommand(java.lang.String name)
           
 
Method Summary
abstract  void execute()
           
 java.lang.String getCmdName()
           
 ImapConnection getConn()
           
 ImapState getState()
           
 java.lang.String getTag()
           
abstract  boolean isValidForState(ImapState state)
           
 void setConn(ImapConnection conn)
           
 void setState(ImapState state)
           
 void setTag(java.lang.String s)
           
protected  void taggedExceptionFailure(java.lang.Throwable exception)
           
protected  void taggedFailure(java.lang.String s)
           
protected  void taggedSimpleFailure()
           
protected  void taggedSimpleSuccess()
           
protected  void taggedSuccess(java.lang.String s)
           
protected  void untaggedResponse(java.lang.String s)
           
protected  void untaggedSimpleResponse(java.lang.String s)
           
protected  void untaggedSuccess(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractImapCommand

public AbstractImapCommand(java.lang.String name)
Method Detail

taggedSuccess

protected void taggedSuccess(java.lang.String s)

taggedSimpleSuccess

protected void taggedSimpleSuccess()

taggedFailure

protected void taggedFailure(java.lang.String s)

taggedSimpleFailure

protected void taggedSimpleFailure()

taggedExceptionFailure

protected void taggedExceptionFailure(java.lang.Throwable exception)

untaggedResponse

protected void untaggedResponse(java.lang.String s)

untaggedSuccess

protected void untaggedSuccess(java.lang.String s)

untaggedSimpleResponse

protected void untaggedSimpleResponse(java.lang.String s)

setTag

public void setTag(java.lang.String s)

getTag

public java.lang.String getTag()

isValidForState

public abstract boolean isValidForState(ImapState state)

execute

public abstract void execute()

getConn

public ImapConnection getConn()

setConn

public void setConn(ImapConnection conn)

getState

public ImapState getState()

setState

public void setState(ImapState state)

getCmdName

public java.lang.String getCmdName()

ePOST API

Copyright © 2001-2005 - Rice Pastry.