SMPPEX.Pdu.as_reply_to
You're seeing just the function
as_reply_to
, go back to SMPPEX.Pdu module for more information.
Specs
Makes pdu
be reply to the reply_to_pdu
, i.e. assigns reply_to_pdu
's
sequence_number
to pdu
.
Examples
iex(1)> pdu1 = SMPPEX.Pdu.new({0x00000004, 0, 123})
iex(2)> pdu2 = SMPPEX.Pdu.new(0x80000004) |> SMPPEX.Pdu.as_reply_to(pdu1)
iex(3)> SMPPEX.Pdu.sequence_number(pdu2)
123