2022-06-25 17:39:47 +00:00
|
|
|
local apisessions = {}
|
|
|
|
|
|
|
|
---@param packet capi_frame
|
|
|
|
function apisessions.handle_packet(packet)
|
|
|
|
end
|
|
|
|
|
2023-02-23 04:09:47 +00:00
|
|
|
-- attempt to identify which session's watchdog timer fired
|
|
|
|
---@param timer_event number
|
|
|
|
function apisessions.check_all_watchdogs(timer_event)
|
2022-07-07 04:34:42 +00:00
|
|
|
end
|
|
|
|
|
2023-02-23 04:09:47 +00:00
|
|
|
-- delete all closed sessions
|
|
|
|
function apisessions.free_all_closed()
|
2022-07-07 04:34:42 +00:00
|
|
|
end
|
|
|
|
|
2023-02-23 04:09:47 +00:00
|
|
|
-- close all open connections
|
|
|
|
function apisessions.close_all()
|
2022-07-07 04:34:42 +00:00
|
|
|
end
|
|
|
|
|
2022-06-25 17:39:47 +00:00
|
|
|
return apisessions
|