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:
block
in interfaceRequestWatcher
-
errorResult
- Specified by:
errorResult
in interfaceMessageResultHandler
-
successResult
- Specified by:
successResult
in 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:
compose
in interfaceRequestWatcher
-
toString
-