|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mailster.pop3.commands.Pop3CommandState
public class Pop3CommandState
---
Mailster (C) 2007-2009 De Oliveira Edouard
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
See Mailster
Web Site
---
Pop3CommandState.java - Class that represents a pair of Pop3Command
and state. This is used to maintain state information when dealing with a muli
state command.
| Field Summary | |
|---|---|
private Pop3Command |
command
The command for which state is carried. |
static int |
INITIAL_STATE
Initial state of a multi state command. |
private int |
nextState
The next state. |
| Constructor Summary | |
|---|---|
Pop3CommandState(Pop3Command command)
|
|
Pop3CommandState(Pop3Command command,
int nextState)
|
|
| Method Summary | |
|---|---|
Pop3Command |
getCommand()
|
int |
getNextState()
|
boolean |
isInitialState()
|
void |
setNextState(int nextState)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INITIAL_STATE
private Pop3Command command
private int nextState
| Constructor Detail |
|---|
public Pop3CommandState(Pop3Command command)
public Pop3CommandState(Pop3Command command,
int nextState)
| Method Detail |
|---|
public Pop3Command getCommand()
public int getNextState()
public void setNextState(int nextState)
public boolean isInitialState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||