You can configure the connector to call an internal event handler, or write your own event handler. Connectors include the following internal event handlers.
The TextFileHandler writes event data to a text file.
The HttpHandler sends event data to a URL.
The LuaHandler runs a Lua script. The event data is passed into the script. The script must have the following form:
function handler(request, xml) ... end
request
is a table holding the request parameters.xml
is a string holding the response to the request.
|