ePOST API

rice.email.proxy.imap.commands
Class SubscribeCommand

java.lang.Object
  extended by rice.email.proxy.imap.commands.AbstractImapCommand
      extended by rice.email.proxy.imap.commands.SubscribeCommand

public class SubscribeCommand
extends AbstractImapCommand

SUBSCRIBE command.

http://asg.web.cmu.edu/rfc/rfc2060.html#sec-6.3.6


Constructor Summary
SubscribeCommand()
           
 
Method Summary
 void execute()
           
 java.lang.String getFolder()
           
 boolean isValidForState(ImapState state)
           
 void setFolder(java.lang.String mailbox)
           
 
Methods inherited from class rice.email.proxy.imap.commands.AbstractImapCommand
getCmdName, getConn, getState, getTag, setConn, setState, setTag, taggedExceptionFailure, taggedFailure, taggedSimpleFailure, taggedSimpleSuccess, taggedSuccess, untaggedResponse, untaggedSimpleResponse, untaggedSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscribeCommand

public SubscribeCommand()
Method Detail

isValidForState

public boolean isValidForState(ImapState state)
Specified by:
isValidForState in class AbstractImapCommand

execute

public void execute()
Specified by:
execute in class AbstractImapCommand

getFolder

public java.lang.String getFolder()

setFolder

public void setFolder(java.lang.String mailbox)

ePOST API

Copyright © 2001-2005 - Rice Pastry.