| java.lang.Object java.lang.Thread soif.SOIFPutter
SOIFPutter | public class SOIFPutter extends Thread (Code) | | Thread that puts SOIF.
Open Issues
- Currently the bare minimum.
As the server stabilizes, more will be done here to do error checking etc.
- Doesn't currently support sending an RDM header
because current targets for this don't require it.
That may change.
- May not need CSID?
- Not used in product so not field tested.
|
Field Summary | |
final public static int | ABEND Processing status: completed successfully. | final public static int | COMPLETE Processing status: completed successfully. | final public static int | PREPARED Processing status: completed successfully. | final public static int | PROCESSING Processing status: completed successfully. | protected CSID | csid Target Compass Server ID. | public boolean | debug Debug flag. |
Method Summary | |
final public boolean | finished() Return whether or not processing is complete. | final public int | getStatus() Return processing status. | public void | putSOIF() Put some of that SOIF. | public void | run() Run the thread, put the SOIF. | final protected void | setStatus(int i) Set processing status. | public void | waitFor() Wait for the putter to finish. | public void | waitFor(int max) Wait for the putter to finish. |
ABEND | final public static int ABEND(Code) | | Processing status: completed successfully.
|
COMPLETE | final public static int COMPLETE(Code) | | Processing status: completed successfully.
|
PREPARED | final public static int PREPARED(Code) | | Processing status: completed successfully.
|
PROCESSING | final public static int PROCESSING(Code) | | Processing status: completed successfully.
|
csid | protected CSID csid(Code) | | Target Compass Server ID.
|
debug | public boolean debug(Code) | | Debug flag.
|
SOIFPutter | public SOIFPutter(String CGILocation, String exe, CSID csid, SOIF soif)(Code) | | Constructor.
Parameters: CGILocation - location of the CGI target of the rdm request Parameters: exe - CGI executable which will fill rdm request Parameters: csid - compass server id Parameters: soif - soif to send |
SOIFPutter | public SOIFPutter(String CGILocation, String exe, CSID csid, String soif)(Code) | | Constructor.
Parameters: CGILocation - location of the CGI target of the rdm request Parameters: exe - CGI executable which will fill rdm request Parameters: csid - compass server id Parameters: soif - soif to send |
finished | final public boolean finished()(Code) | | Return whether or not processing is complete.
|
getStatus | final public int getStatus()(Code) | | Return processing status.
|
putSOIF | public void putSOIF()(Code) | | Put some of that SOIF.
|
run | public void run()(Code) | | Run the thread, put the SOIF.
|
setStatus | final protected void setStatus(int i)(Code) | | Set processing status. If the current status is ABEND, it
will not be changed.
|
waitFor | public void waitFor()(Code) | | Wait for the putter to finish.
|
waitFor | public void waitFor(int max)(Code) | | Wait for the putter to finish.
Parameters: max - don't wait longer than max (increments are 100) |
|
|