FixAlchemy.MessageStore.Memory (FIXAlchemy v0.2.4)

View Source

In-memory FixAlchemy.MessageStore, held in the client's own state.

Keeps the most recent :max_messages sent messages (default 10_000) so a ResendRequest can be answered without unbounded growth on a long-lived session. Sequence numbers older than the window are gap-filled instead of replayed.

Summary

Types

t()

@type t() :: %FixAlchemy.MessageStore.Memory{
  max_messages: pos_integer(),
  messages: %{required(pos_integer()) => binary()}
}