abstract class AbstractCommand
Implements:
The The base Dialog for Group Chats.
ge
Version:
$Id: AbstractCommand.java,v 1.1 2004/12/19 23:53:50 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]
| Field Summary |
private String |
|
private final static Logger |
|
private final static String |
|
private String |
|
protected final static String |
|
protected final static String |
|
protected final static String |
|
protected final static String |
|
protected final static String |
|
private boolean |
|
private final static String |
|
| Method Summary |
protected String |
|
protected String |
|
public String |
|
public String |
|
protected boolean |
|
protected void |
|
protected void |
|
protected void |
|
public String |
|
private String command = null
private final static Logger LOG = Logger.getLogger(AbstractCommand.class.getName())
private final static String NEW_LINE = "\n"
private String reply = null
protected final static String REQUEST_POSTAMBLE = "\"/>"
protected final static String REQUEST_PREAMBLE = "<request id=\""
protected final static String RESPONSE_POSTAMBLE = "</response>"
protected final static String RESPONSE_PREAMBLE = "<response status=\""
RESPONSE_PREAMBLE_POSTAMBLE
protected final static String RESPONSE_PREAMBLE_POSTAMBLE = "\">"
private boolean status = false
private final static String TAB = " "
protected String getCommand()
protected String getReply()
public String getRequest()
public String getResponse()
protected boolean getStatus()
protected void setCommand(String command)
protected void setReply(String reply)
protected void setStatus(boolean status)
public String toString()