Skip to content

Instantly share code, notes, and snippets.

@hitxiang
Last active November 5, 2020 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitxiang/47cd4501aa3d9d74ef4ae2fcd9c58d38 to your computer and use it in GitHub Desktop.
Save hitxiang/47cd4501aa3d9d74ef4ae2fcd9c58d38 to your computer and use it in GitHub Desktop.
Quickfix sequence

The sequence of outgoing message:

  • toAdmin/toApp
  • persist outgoing messages in messgestore(fileStore in our case)
  • increase sequence number of sender
  • logging of messages
  • send messages

The sequence of incoming message:

  • receive messages
  • logging of messages
  • fromAdmin/fromApp (fromCallback)
  • increase sequence number of receiver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment