responseString = ERR_RESPONSE + " Usage: TOP [mail number] [Line number]";
writeLoggedFlushedResponse(responseString);
return;
}
try {
MailImpl mc = (MailImpl) userMailbox.elementAt(num);
if (mc != DELETED) {
responseString = OK_RESPONSE + " Message follows";
writeLoggedFlushedResponse(responseString);
for (Enumeration e = mc.getMessage().getAllHeaderLines(); e.hasMoreElements(); ) {
out.println(e.nextElement());
}
out.println();
OutputStream nouts =
new ExtraDotOutputStream(outs);
nouts = new BytesWrittenResetOutputStream(nouts,
theWatchdog,
theConfigData.getResetLength());
mc.writeContentTo(nouts, lines);
nouts.flush();
out.println(".");
out.flush();
} else {
StringBuffer responseBuffer =