Module HOUND.Comms.InformationSystem
Hound Information System (extends HOUND.Comms.Manager)
-
HOUND.Comms.InformationSystem:create (sector, houndConfig[, settings])
-
HOUND.Comms.InformationSystem create
Parameters:
- sector
string
name of parent sector
- houndConfig
HoundConfig instance
- settings
table
table containing comms instance settings
(optional)
Returns:
HOUND.Comms.InformationSystem Instance
-
HOUND.Comms.InformationSystem
-
Hound inforamtion System (extends HOUND.Comms.Manager)
See also:
-
HOUND.Comms.InformationSystem:reportEWR (state)
-
set reportEWR state
Parameters:
- state
boolean
Desired state
-
HOUND.Comms.InformationSystem:startCallbackLoop ()
-
Start callback loop
-
HOUND.Comms.InformationSystem:stopCallbackLoop ()
-
stop callback loop
-
HOUND.Comms.InformationSystem:SetMsgCallback (callback, args)
-
configure function for loop
Implementation of abstract
Parameters:
- callback
function
to run in loop
- args
table
argument table for callback function
-
HOUND.Comms.InformationSystem:runCallback ()
-
run callback message scheduler
Returns:
time of next run
-
HOUND.Comms.InformationSystem:getNextMsg ()
-
Get next message from queue
override implementation