notProcessed()
Leave the front call unprocessed.
Syntax
(a FrontCallAnswer) notProcessed()
- a is the front call answer object to initialize.
Usage
This method is used when you register multiple front call handlers. The GGC manages one request for all your registered handlers. The
handlers are linked in a chain. If notProcesssed()
is returned for a handler, the
chain continues to the next handler until the requested handler is processed.
notProcessed()
maintains the request chain unbroken.
If, for example, standard.feInfo("feName")
and openfile
are two
front calls handled, they will be called in the order registered, one after the other. If the
request is openfile
, notProcessed()
is returned for
feInfo("feName")
(meaning it is skipped, or ignored this time). The request is then
provided to the next front call handler - openfile
in this case.
If success with values or error is returned, the chain stops, the handler has been processed. The last front call handler in the chain is the default front call handler provided by the GGC.
As handlers are small functions that process one specific front call and are handled in a chain, this makes them flexible enough for reuse with different scenarios.
You must declare a variable of type ggc.FrontCallAnswer
. Call the method on the front call answer object. For
example:
DEFINE fcAnswer FrontCallAnswer
...
CALL fcAnswer.notProcessed()