acs_ex v0.3.5 ACS.Session
The actual ACS-CPE session is handled here. A session is initiated when an Inform arrives, therefore the init function takes a parsed Inform request as an argument.
We let the supervisor handle the main session handler, and then we register new sessions with the session_begins method
Summary
Functions
Processes a message from the plug. “message” is the CWMP.Protocol version of the parsed request sent into the plug
Used for :trap_exit
when stuff is sent into this session, like CWMP messages or other stuff
Script message. This means the a scripting process wants a response to a request we just put the request in the plug queue and answer no_reply here
this is spawn_linked and should apply
the call to the module
For the supervisor
When something non-Inform’ish is sent into the session we need to find and verify the session
Functions
Processes a message from the plug. “message” is the CWMP.Protocol version of the parsed request sent into the plug.
when stuff is sent into this session, like CWMP messages or other stuff.
Script message. This means the a scripting process wants a response to a request we just put the request in the plug queue and answer no_reply here.
this is spawn_linked and should apply
the call to the module