TsgcSTUNServer › Properties › NotifyEvents
Selecteert hoe server-zijde gebeurtenissen in threads worden gesynchroniseerd met de hoofd-VCL/FMX-thread.
property NotifyEvents: TwsNotifyEvent read GetNotifyEvents write SetNotifyEvents;
—
Definieert het threading-model dat wordt gebruikt voor het verzenden van OnSTUN*-evenementen:
TThread.Synchronize; de luisterthread wordt geblokkeerd totdat de handler retourneert, wat veiliger is voor UI-code maar de doorvoer vermindert.oSTUN.NotifyEvents := neAsynchronous;
oSTUN.Active := True;