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
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
- 
Method SummaryModifier and TypeMethodDescriptionbooleanblock()voidcancel()voidcompose(RequestWatcher... requestWatchers) protected voidvoidvoidfinishSuccessfully(Object value) get()getError()longprotected voidprotected voidvoidonError(org.python.core.PyFunction func) voidonSuccess(org.python.core.PyFunction func) protected long
- 
Constructor Details- 
RequestImplpublic RequestImpl(int timeout) 
 
- 
- 
Method Details- 
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()
- 
finishSuccessfully
- 
dispatchFuncprotected void dispatchFunc()
- 
finishExceptionally
- 
blockpublic boolean block()- Specified by:
- blockin interface- RequestWatcher
 
- 
get
- 
cancelpublic void cancel()
- 
getError
- 
compose- Specified by:
- composein interface- RequestWatcher
 
 
-