smppex v0.1.1 SMPPEX.SMPPHandler protocol

Summary

Types

handle_pdu_result ::
  :ok |
  {:ok, session} |
  {:ok, session, [SMPPEX.Pdu.t]} |
  {:stop, session, [SMPPEX.Pdu.t]} |
  :stop
init_error :: any
protocol :: pid
ref :: any
send_pdu_result :: :ok | {:error, any}
session :: any
socket :: port
t :: term
transport :: module

Functions

after_init(session)

Specs

after_init(session) :: any
handle_parse_error(session, error)

Specs

handle_parse_error(session, SMPPEX.Protocol.error) :: any
handle_pdu(session, parse_result)

Specs

handle_pdu(session, SMPPEX.Protocol.pdu_parse_result) :: handle_pdu_result
handle_send_pdu_result(session, pdu, send_pdu_result)

Specs

handle_send_pdu_result(session, SMPPEX.Pdu.t, send_pdu_result) :: session
handle_socket_closed(session)

Specs

handle_socket_closed(session) :: any
handle_socket_error(session, reason)

Specs

handle_socket_error(session, any) :: any
handle_stop(session)

Specs

handle_stop(session) :: any