Class SystemUtilities.RequestImpl
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.script.builtin.SystemUtilities.RequestImpl
 
- 
- All Implemented Interfaces:
- Request,- RequestWatcher
 - Direct Known Subclasses:
- DesignerSystemUtilities.SendRequestManager.ClientRequest
 - Enclosing class:
- SystemUtilities
 
 public static class SystemUtilities.RequestImpl extends java.lang.Object implements Request This is the base implementation of the "Result" object of system.util.sendRequestAsync. The client version overrides it to do a few special things, but most of the work is done here.
- 
- 
Constructor SummaryConstructors Constructor Description RequestImpl(int timeout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanblock()voidcancel()voidcheckTimeout()RequestWatchercompose(RequestWatcher... requestWatchers)protected voiddispatchFunc()voidfinishExceptionally(java.lang.Exception e)voidfinishSuccessfully(java.lang.Object value)java.lang.Objectget()java.lang.ExceptiongetError()longgetLongId()protected voidinternalOperationCompleted()protected voidinternalWait()voidonError(org.python.core.PyFunction func)voidonSuccess(org.python.core.PyFunction func)protected longstartTime()
 
- 
- 
- 
Method Detail- 
getLongIdpublic long getLongId() 
 - 
checkTimeoutpublic void checkTimeout() 
 - 
onSuccesspublic void onSuccess(org.python.core.PyFunction func) 
 - 
onErrorpublic void onError(org.python.core.PyFunction func) 
 - 
startTimeprotected long startTime() 
 - 
internalWaitprotected void internalWait() 
 - 
internalOperationCompletedprotected void internalOperationCompleted() 
 - 
finishSuccessfullypublic void finishSuccessfully(java.lang.Object value) 
 - 
dispatchFuncprotected void dispatchFunc() 
 - 
finishExceptionallypublic void finishExceptionally(java.lang.Exception e) 
 - 
blockpublic boolean block() - Specified by:
- blockin interface- RequestWatcher
 
 - 
getpublic java.lang.Object get() throws java.lang.Exception
 - 
composepublic RequestWatcher compose(RequestWatcher... requestWatchers) - Specified by:
- composein interface- RequestWatcher
 
 
- 
 
-