public class CallableWorkerResponseContext extends BaseWorkerResponseContext
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fulfilled |
protected int |
haltCount |
protected BType[] |
responseTypes |
protected Map<String,BStruct> |
workerErrors |
currentSignal, responseCallbacks, retRegIndexes, targetCtx, workerCount, workerDataChannels| Constructor and Description |
|---|
CallableWorkerResponseContext(BType[] responseTypes,
int workerCount) |
doFailCallbackNotify, doSuccessCallbackNotify, getWorkerDataChannel, joinTargetContextInfo, modifyDebugCommands, onTimeout, registerResponseCallback, signalprotected BType[] responseTypes
protected boolean fulfilled
protected int haltCount
public CallableWorkerResponseContext(BType[] responseTypes, int workerCount)
protected boolean isFulfilled()
protected void setAsFulfilled()
protected void setCurrentSignal(WorkerSignal signal)
protected WorkerSignal getCurrentSignal()
protected void onMessage(WorkerSignal signal)
onMessage in class BaseWorkerResponseContextprotected void handleAlreadyFulfilled(WorkerSignal signal)
protected WorkerExecutionContext propagateErrorToTarget()
protected WorkerExecutionContext onHalt(WorkerSignal signal)
onHalt in class BaseWorkerResponseContextprotected boolean isReturnable()
protected void initWorkerErrors()
protected void printError(BStruct error)
protected boolean isWorkersDone()
protected void storeError(WorkerExecutionContext sourceCtx, BStruct error)
protected WorkerExecutionContext onError(WorkerSignal signal)
onError in class BaseWorkerResponseContextprotected WorkerExecutionContext onFinalizedError(WorkerExecutionContext targetCtx, BStruct error)
protected void printStoredErrors()
protected WorkerExecutionContext onReturn(WorkerSignal signal)
onReturn in class BaseWorkerResponseContextpublic WorkerExecutionContext onFulfillment(boolean runInCaller)
Copyright © 2018 WSO2. All rights reserved.