TrafficFilter Methods



ForceSaveConfig

Server NetCom saves configuration to disk every 3 minutes automatically (exclude selected to filter adapters). Call this procedure to force to save configuration.

StartFilter(AdapterIndex as Integer)

Starts filtering on selected adapter. Packets from and to this adapter will be pushed to rules.

StopFilter(AdapterIndex as Integer)

Stops filtering on selected adapter. Packets from and to this adapter will be sended to destination.

GlobalLock

Call this method, if you'r script try to acces to shared resource with other scripts. For example if you'r script writes data to log-file. Scripts executed in the separeted threads!

GlobalUnlock

Backward to GlobalLock method.

LogInfo(S as String)

Log's information string to Windows Event Log.

LogWarning(S as String)

Log's warning string to Windows Event Log.

LogError(S as String)

Log's error string to Windows Event Log.

CreateScripter as Scripter

Returns newly created Scripter object.

CreateOleObject(S as String) as Object

Provides possibility of creation any system-registered automation object.