Dr.Web Server binary file loaded
Called when Dr.Web Server binary file loaded to execute some service functions (Dr.Web Server will not serve clients).
Database
|
Parameters
|
Returned value
|
not available
|
no
|
ignored
|
Procedure text:
--[[
Called:
when server binary file loaded for execute some service function
(the server will not serve clients)
Database:
NOT available
Parameters:
none
Returned value:
ignored
]]
|
Database verified
Called when database verification completed.
Database
|
Parameters
|
Returned value
|
not available
|
•state —completion state:
▫true—success
▫false—failed |
ignored
|
Procedure text:
--[[
Called:
when database verification completed
Database:
NOT available
Parameters:
state true success
failed
Returned value:
ignored
]]
local args = ... -- args.state
|
License limit reached (connection not established)
Called when new client connection cannot be established due to license limitation. After client has been disconnected, the bad_connection.ds is called.
Database
|
Parameters
|
Returned value
|
available
|
•reason—reason of connection error:
▫connection—no available license
▫database—cannot create new station in database because there are no available licenses left |
ignored
|
Procedure text:
--[[
Called:
when new client connection cannot be established due license limitation
Database:
available
Parameters:
reason "connection" no available license
"database" cannot create new station in database due
no available license
Returned value:
ignored
]]
local args = ... -- args.reason
|
Some Dr.Web Server functions unloaded
Called when Dr.Web Server completed execution of some service functions (Dr.Web Server did not serve clients).
Database
|
Parameters
|
Returned value
|
not available
|
no
|
ignored
|
Procedure text:
--[[
Called:
when server completed execute some service function
(the server did not serve clients)
Database:
NOT available
Parameters:
none
Returned value:
ignored
]]
|
Database driver loaded
Called when database driver loading process is completed.
Database
|
Parameters
|
Returned value
|
not available
|
•state—completion state:
▫true—successful load
▫false—load failed
•driver—database driver name
•library—full path to database driver library
•message—error message text when state is false |
ignored
|
Procedure text:
--[[
Called:
when database driver load process completed
Database:
NOT available
Parameters:
state true successful load
false load failed
driver database driver name
library full path to database driver library
message error message text when state is 'false'
Returned value:
ignored
]]
local args = ... -- args.state, args.driver, args.library, args.message
|
Dr.Web Server task executed
Called when task executed on Dr.Web Server.
Database
|
Parameters
|
Returned value
|
available
|
•id—Dr.Web Server ID
•done—completion state:
▫true—executed successfully
▫false—execution failed
•time—task completion time
•name—task name
•error—message from execution log |
ignored
|
Procedure text:
--[[
Called:
when job executed on the server
Database:
available
Parameters:
id server ID
done true executed successfully
false execution failed
time job completion time
name job name
error error or other message
Returned value:
ignored
]]
local args = ... -- args.id, args.done, args.name, args.time, args.error
|
Protocol module unloaded
Called when protocol module unloaded.
Database
|
Parameters
|
Returned value
|
not available
|
•name—internal protocol name
•path—path to protocol module file |
ignored
|
Procedure text:
--[[
Called:
when protocol module unloaded
Database:
NOT available
Parameters:
name protocol name
path path to protocol module file
Returned value:
ignored
]]
local args = ... -- args.path
|
Protocol loaded
Called when protocol module is loaded.
Database
|
Parameters
|
Returned value
|
unknown
|
•path—path to protocol module file
•name—internal protocol name
•desc—protocol module description
•state—state:
▫loaded—protocol module successfully loaded
▫disabled—protocol module is disabled in the drwcsd.conf file
•error—error message text when state is invalid |
ignored
|
Procedure text:
--[[
Called:
when protocol module loaded
Parameters:
path path to protocol module file
name internal protocol name
desc protocol module description string
state "loaded" protocol module loaded successfully
"disabled" protocol module is disabled in drwcsd.conf
"invalid" invalid protocol module format
error error message if state is "invalid"
Returned value:
ignored
]]
local args = ... -- args.state, args.path, args.name
|
Extension unloaded
Called when extension module unloaded.
Database
|
Parameters
|
Returned value
|
not available
|
•name—extension name
•path—path to extension file |
ignored
|
Procedure text:
--[[
Called:
when plugin module unloaded
Database:
NOT available
Parameters:
name plugin name
path path to plugin file
Returned value:
ignored
]]
local args = ... -- args.name, yargs.path
|
Extension loaded
Called when extension module is loaded.
Database
|
Parameters
|
Returned value
|
not available
|
•path—path to extension file
•name—internal extension name
•desc—extension description
•state—state:
▫loaded—extension successfully loaded
▫disabled—extension usage is disabled in the drwcsd.conf file
▫invalid—invalid extension format
•error — error message text when state is invalid |
ignored
|
Procedure text:
--[[
Called:
when plugin module loaded
Database:
NOT available
Parameters:
path path to plugin file
name internal plugin name
desc plugin description string
state "loaded" plugin loaded successfully
"disabled" plugin is disabled in drwcsd.conf
"invalid" invalid plugin format
error error message if state is "invalid"
Returned value:
ignored
]]
local args = ... -- args.state, args.path, args.name, args.error
|
Backup
Called after completing backup but before deleting previous backup files.
Database
|
Parameters
|
Returned value
|
available
|
•state—completion state:
▫true—success
▫false—failed |
ignored
|
Procedure text:
--[[
Called:
when backup completed but before deleting previous backup files
Database:
available
Parameters:
state true successful
false failed
Returned value:
ignored
]]
local args = ... -- args.state
|
Dr.Web Server terminating
Called when Dr.Web Server is completing the client servicing.
Database
|
Parameters
|
Returned value
|
not available
|
no
|
ignored
|
Procedure text:
--[[
Called:
when server completed serve clients
Database:
NOT available
Parameters:
none
Returned value:
ignored
]]
|
Dr.Web Server started and ready
Called when Dr.Web Server started and ready to serve clients.
Database
|
Parameters
|
Returned value
|
not available
|
no
|
ignored
|
Procedure text:
--[[
Called:
when server started and going to serve clients
Database:
NOT available
Parameters:
none
Returned value:
ignored
]]
|
|