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().
-spec encode(Entry, ControlMessage, Options) -> {ok, Fragments, Entry} when Entry :: t(), ControlMessage :: vdist:dop_without_payload_t(), Options :: vdist_entry_encode:options(), Fragments :: [binary()].
-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()].
-spec fill_tx_atom_cache(Entry, Options) -> {ok, Fragments, Entry} when Entry :: t(), Options :: vdist_entry_encode:options(), Fragments :: [binary()].
-spec is_tx_atom_cache_filled(Entry) -> boolean() when Entry :: t().
-spec reg_send_noop() -> {Message, Payload} when Message :: vdist:dop_with_payload_t(), Payload :: vterm:t().
-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().