Adds an event handler to an existing script event handler entry.
int32 AddEventHandler( int32 index, string name, string function, uint32 flags )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | index | The index of the script entry to which you wish to add an event. |
string | name | A string containing the name of the event. |
string | function | A string containing the name of the script language function to execute as the event handler. |
uint32 | flags | Sets the event direction flag such as Enum.NED_SendReceive(). This refers to the SPA_eNodeEventDirection enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
None published. Please look for an example in the Simdify Scripting Language code base.