Class SendRequestHandle
java.lang.Object
com.inductiveautomation.ignition.common.script.message.SendRequestHandle
- All Implemented Interfaces:
MessageResultHandler,Request,RequestWatcher
This only exists because we want to hide the completion functions from the scripting system,
so we break it out to a different interface (MessageResultHandler).
-
Constructor Summary
ConstructorsConstructorDescriptionSendRequestHandle(int timeout) SendRequestHandle(CompletableFuture<Object> future) -
Method Summary
-
Constructor Details
-
SendRequestHandle
-
SendRequestHandle
public SendRequestHandle(int timeout)
-
-
Method Details
-
block
public boolean block()- Specified by:
blockin interfaceRequestWatcher
-
errorResult
- Specified by:
errorResultin interfaceMessageResultHandler
-
successResult
- Specified by:
successResultin interfaceMessageResultHandler
-
get
-
cancel
public void cancel() -
getError
-
onSuccess
public void onSuccess(org.python.core.PyObject func) -
onError
public void onError(org.python.core.PyObject func) -
compose
- Specified by:
composein interfaceRequestWatcher
-
toString
-