public interface WorkerResponseContext
Modifier and Type | Method and Description |
---|---|
WorkerDataChannel |
getWorkerDataChannel(String name)
Creates and returns the data channels used to communicate between the workers.
|
WorkerExecutionContext |
joinTargetContextInfo(WorkerExecutionContext targetCtx,
int[] retRegIndexes)
Joins a new target worker execution context to the current response
context.
|
WorkerExecutionContext |
signal(WorkerSignal signal)
This is called by the workers to signal the response context of any
signal that needs to be passed into.
|
WorkerExecutionContext signal(WorkerSignal signal)
signal
- the signal to be passed inWorkerExecutionContext joinTargetContextInfo(WorkerExecutionContext targetCtx, int[] retRegIndexes)
targetCtx
- the target worker execution contextretRegIndexes
- the return registry locations of the target execution context
where the current worker execution context should report toWorkerDataChannel getWorkerDataChannel(String name)
name
- the unique name of the data channel name requestedCopyright © 2018 WSO2. All rights reserved.