View Source vdist_external (erldist_filter v1.28.5)
Summary
Types
-type t() :: #vdist_external{atom_table :: vdist_atom_translation_table:t(), sequence_id :: vdist:sequence_id(), fragment_id_next :: vdist:fragment_id(), fragment_count :: vdist:fragment_id(), fragments :: queue:queue(binary())}.
Functions
-spec append_next_fragment(t(), FragmentCont, Fragment) -> {ok, queue:queue(Fragment), vdist_atom_translation_table:t()} | {cont, t()} when FragmentCont :: vdist_fragment_cont:t(), Fragment :: binary().
-spec decode_next_fragment(t(), Header, Fragment) -> {ok, binary(), vdist_atom_translation_table:t()} | {cont, t()} when Header :: vdist_fragment_cont:t(), Fragment :: binary().
-spec new(Table, SequenceId, FragmentCount) -> t() when Table :: vdist_atom_translation_table:t(), SequenceId :: vdist:sequence_id(), FragmentCount :: vdist:fragment_id().