Class AbstractCommand
package: net.jxta.myjxta.dialog.commands
abstract class AbstractCommand
Implements:
net.jxta.myjxta.dialog.Command
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
setCommand(String command)
protected void
setReply(String reply)
protected void
setStatus(boolean status)
public String
Field Detail
command
private String command = null

LOG
private final static Logger LOG = Logger.getLogger(AbstractCommand.class.getName())

NEW_LINE
private final static String NEW_LINE = "\n"

reply
private String reply = null

REQUEST_POSTAMBLE
protected final static String REQUEST_POSTAMBLE = "\"/>"

REQUEST_PREAMBLE
protected final static String REQUEST_PREAMBLE = "<request id=\""

RESPONSE_POSTAMBLE
protected final static String RESPONSE_POSTAMBLE = "</response>"

RESPONSE_PREAMBLE
protected final static String RESPONSE_PREAMBLE = "<response status=\""

RESPONSE_PREAMBLE_POSTAMBLE
protected final static String RESPONSE_PREAMBLE_POSTAMBLE = "\">"

status
private boolean status = false

TAB
private final static String TAB = " "
Method Detail
getCommand
protected String getCommand()

getReply
protected String getReply()

getRequest
public String getRequest()

getResponse
public String getResponse()

getStatus
protected boolean getStatus()

setCommand
protected void setCommand(String command)

setReply
protected void setReply(String reply)

setStatus
protected void setStatus(boolean status)

toString
public String toString()