View Source vdist_external (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

-type t() :: #vdist_external{}.

Link to this section Functions

Link to this function

append_next_fragment(External0, FragmentCont, Fragment)

View Source
-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().
Link to this function

decode_next_fragment(External0, Header, Fragment)

View Source
-spec decode_next_fragment(t(), Header, Fragment) ->
                        {ok, binary(), vdist_atom_translation_table:t()} | {cont, t()}
                        when Header :: vdist_fragment_cont:t(), Fragment :: binary().
Link to this function

new(Table, SequenceId, FragmentCount)

View Source
-spec new(Table, SequenceId, FragmentCount) -> t()
       when
           Table :: vdist_atom_translation_table:t(),
           SequenceId :: vdist:sequence_id(),
           FragmentCount :: vdist:fragment_id().