SMPPEX.Session.handle_resp_timeout
You're seeing just the callback
handle_resp_timeout
, go back to SMPPEX.Session module for more information.
Specs
handle_resp_timeout(pdus :: [SMPPEX.Pdu.t()], state()) :: {:ok, state()} | {:ok, [SMPPEX.Pdu.t()], state()} | {:stop, reason(), state()}
Invoked when the session does not receive a response to a previously sent PDU within the specified timeout.
pdu
argument contains the PDU for which no response was received. If the response
will be received later it will be dropped (with an info
log message).
The callback return values indicate the following:
{:ok, state}
— usestate
as the new session state;{:ok, pdus, state}
— usestate
as the new session state and additionally sendpdus
to the connection;{:stop, reason, state}
— stop with reasonreason
and usestate
as the new session state.