public class JavaScript.DeferredSend
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
DeferredSend(JavaScript.PortOrParameterProxy proxy,
int channelIndex,
Token data,
java.lang.Object value)
Construct an object that defers a send operation.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Invoke send on the port or parameter proxy.
|
public DeferredSend(JavaScript.PortOrParameterProxy proxy, int channelIndex, Token data, java.lang.Object value)
proxy
- A proxy corresponding to the port or parameter.channelIndex
- The channel to send data on.data
- The data token to send through the port or update the parameter with.value
- The JavaScript value to pass back when the send actually occurs.