View Source vdist_entry (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

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

Link to this section Functions

-spec decode(OldEntry, Input) -> {ok, ControlMessage, MaybePayload, NewEntry, Rest} | {cont, NewEntry}
          when
              OldEntry :: t(),
              Input :: binary(),
              ControlMessage :: vdist:dop_t(),
              MaybePayload :: vterm:t() | undefined,
              NewEntry :: t(),
              Rest :: binary().
Link to this function

encode(Entry, ControlMessage, Options)

View Source
-spec encode(Entry, ControlMessage, Options) -> {ok, Fragments, Entry}
          when
              Entry :: t(),
              ControlMessage :: vdist:dop_without_payload_t(),
              Options :: vdist_entry_encode:options(),
              Fragments :: [binary()].
Link to this function

encode(Entry, ControlMessage, Payload, Options)

View Source
-spec encode(Entry, ControlMessage, Payload, Options) -> {ok, Fragments, Entry}
          when
              Entry :: t(),
              ControlMessage :: vdist:dop_with_payload_t(),
              Payload :: vterm:t(),
              Options :: vdist_entry_encode:options(),
              Fragments :: [binary()].
Link to this function

fill_tx_atom_cache(Entry, Options)

View Source
-spec fill_tx_atom_cache(Entry, Options) -> {ok, Fragments, Entry}
                      when
                          Entry :: t(),
                          Options :: vdist_entry_encode:options(),
                          Fragments :: [binary()].
Link to this function

is_tx_atom_cache_filled(Entry)

View Source
-spec is_tx_atom_cache_filled(Entry) -> boolean() when Entry :: t().
-spec new(DistributionFlags) -> T when DistributionFlags :: vterm:u64(), T :: t().
-spec reg_send_noop() -> {Message, Payload}
                 when Message :: vdist:dop_with_payload_t(), Payload :: vterm:t().
Link to this function

reg_send_noop(Id, Serial, Creation)

View Source
-spec reg_send_noop(Id, Serial, Creation) -> {Message, Payload}
                 when
                     Id :: non_neg_integer(),
                     Serial :: non_neg_integer(),
                     Creation :: non_neg_integer(),
                     Message :: vdist:dop_with_payload_t(),
                     Payload :: vterm:t().
-spec reg_send_noop_alt() -> {Message, Payload}
                     when Message :: vdist:dop_with_payload_t(), Payload :: vterm:t().