TsgcSTUNServer › Proprietà › NotifyEvents
Seleziona come gli eventi del server in thread vengono sincronizzati con il thread principale VCL/FMX.
property NotifyEvents: TwsNotifyEvent read GetNotifyEvents write SetNotifyEvents;
—
Definisce il modello di threading utilizzato per distribuire gli eventi OnSTUN*:
TThread.Synchronize; il thread listener viene bloccato fino al ritorno del gestore, il che è più sicuro per il codice UI ma riduce il throughput.oSTUN.NotifyEvents := neAsynchronous;
oSTUN.Active := True;