SMPPEX.Session.handle_info

You're seeing just the callback handle_info, go back to SMPPEX.Session module for more information.
Link to this callback

handle_info(request, state)

View Source

Specs

handle_info(request(), state()) ::
  {:noreply, state()}
  | {:noreply, [SMPPEX.Pdu.t()], state()}
  | {:stop, reason(), state()}

Invoked to handle a generic message request sent to the session process.

The returned values indicate the following:

  • {:noreply, state} — use state as the new state;
  • {:noreply, pdus, state} — use state as the new state and additionally send pdus to the peer.;
  • {:stop, reason, state} — use state as the new state and exit with reason.