|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.starla.smb.SMBPrintJobList
SMB print job list class
The SMBPrintJobList class contains a list of SMBPrintJob objects.
The SMBAdminSession.getPrintJobs () method returns an SMBPrintJobList containing the active/pending print jobs for the specified remote print queue.
Constructor Summary | |
SMBPrintJobList()
Class constructor |
Method Summary | |
void |
addPrintJob(SMBPrintJob prnjob)
Add a print job object to the list. |
void |
clearList()
Clear all print jobs from the list |
SMBPrintJob |
getPrintJob(int idx)
Get a print job object from the list |
int |
NumberOfJobs()
Get the number of print jobs in the list |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SMBPrintJobList()
Method Detail |
public final void addPrintJob(SMBPrintJob prnjob)
srvinf
- SMBPrintJob to add to the list.public final void clearList()
public final SMBPrintJob getPrintJob(int idx) throws java.lang.ArrayIndexOutOfBoundsException
idx
- Index of the print job to returnpublic final int NumberOfJobs()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |