|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.mercury.imap.cmd.IMAPCommand
public class IMAPCommand
A class that represents IMAP command
| Field Summary | |
|---|---|
static short |
ALWAYS_SEND_UNILATERAL_DATA
|
static short |
ALWAYS_SUPRESS_UNILATERAL_DATA
|
protected String |
mnemonic
Mnemonic |
static short |
SEND_WHEN_HAVE_NEW
|
protected short |
unilateral
|
| Constructor Summary | |
|---|---|
IMAPCommand(String mnemonic)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
checkEOL(IMAPSession session)
Checks if command is read fully |
protected void |
execute(IMAPSession session)
Executes the command. |
String |
getMnemonic()
Returns mnemonic |
void |
handleConnection(org.abstracthorizon.danube.connection.Connection connection)
Handles connection |
protected void |
sendOK(IMAPSession session)
Sets OKResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short SEND_WHEN_HAVE_NEW
public static final short ALWAYS_SEND_UNILATERAL_DATA
public static final short ALWAYS_SUPRESS_UNILATERAL_DATA
protected short unilateral
protected String mnemonic
| Constructor Detail |
|---|
public IMAPCommand(String mnemonic)
mnemonic - mnemonic| Method Detail |
|---|
public String getMnemonic()
public void handleConnection(org.abstracthorizon.danube.connection.Connection connection)
handleConnection in interface org.abstracthorizon.danube.connection.ConnectionHandlerconnection - connection
protected void execute(IMAPSession session)
throws ParserException,
javax.mail.MessagingException,
CommandException,
IOException
NOResponse.
session - session
ParserException
javax.mail.MessagingException
CommandException
IOException
protected void sendOK(IMAPSession session)
throws IOException
OKResponse
session - session
IOException
protected void checkEOL(IMAPSession session)
throws IOException,
ParserException
session - session
IOException
ParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||