Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtAsyncReactor.Nudge

function Nudge(aConnection: tReactorConnection): Boolean; virtual;
Deliver an out-of-band wake for aConnection on one of this reactor's own I/O threads, which then calls aConnection.DeliverNudge. This is how work decided on a foreign thread - an expiry, a management request - is executed in a dispatch position instead of by the thread that decided it, so the per-connection gate is never taken from outside and every documented single-owner invariant survives. VIRTUAL, NOT ABSTRACT, on purpose: RegisterReactor is public, so a backend that lives outside this repository and predates this method must keep compiling. The base answers "I cannot", which is a truthful answer and leaves the caller to fall back to DeliverNudge on its own thread.