|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simoes.lpd.command.CommandHandler org.simoes.lpd.command.CommandReportQueueStateLong
This class handles the Send queue state (long) Command in RFC1179.
The RFC description is below:
5.4 04 - Send queue state (long)
+----+-------+----+------+----+
| 04 | Queue | SP | List | LF |
+----+-------+----+------+----+
Command code - 4
Operand 1 - Printer queue name
Other operands - User names or job numbers
If the user names or job numbers or both are supplied then only those
jobs for those users or with those numbers will be sent.
The response is an ASCII stream which describes the printer queue.
The stream continues until the connection closes. Ends of lines are
Field Summary |
Fields inherited from class org.simoes.lpd.command.CommandHandler |
command, is, os |
Constructor Summary | |
CommandReportQueueStateLong(byte[] command,
java.io.InputStream is,
java.io.OutputStream os)
|
Method Summary | |
void |
execute()
Writes a text table that displays the current print jobs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandReportQueueStateLong(byte[] command, java.io.InputStream is, java.io.OutputStream os)
Method Detail |
public void execute() throws LPDException
execute
in class CommandHandler
LPDException
- thrown when an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |