PPNet.Message.ChunkedMessageHeader (pp_net v0.1.6)

Copy Markdown View Source

Header for the ChunkedMessage message.

Summary

Types

t()

@type t() :: %PPNet.Message.ChunkedMessageHeader{
  datetime: DateTime.t(),
  message_module: module(),
  total_chunks: non_neg_integer(),
  transaction_id: non_neg_integer()
}

The PPNet.Message.ChunkedMessageHeader struct

Fields

  • message_module - The module of the original message being chunked
  • transaction_id - Unique ID grouping all chunks of the same message
  • datetime - Timestamp of when the message was sent
  • total_chunks - Total number of chunks the message was split into