Let the session own its bind state, written by bound() alone #42

Merged
lilleman merged 11 commits from session-bound into main 2026-09-28 04:37:29 +02:00
Owner

session.boundAs and session.peerInterfaceVersion become read-only, session.loggedIn is removed, and session.bound(bindType, declaredVersion) is the one way to record a bind — client(), server() and a hand-wired session alike. The state holds through a reconnect's gap.

session.boundAs and session.peerInterfaceVersion become read-only, session.loggedIn is removed, and session.bound(bindType, declaredVersion) is the one way to record a bind — client(), server() and a hand-wired session alike. The state holds through a reconnect's gap.
lilleman added 2 commits 2026-09-28 03:56:17 +02:00
Let the session own its bind state, written by bound() alone
Mirror / push (push) Successful in 7s
Test / lint (pull_request) Successful in 26s
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 40s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 37s
Test / test (26) (pull_request) Successful in 38s
b70f0d6ade
lilleman added 2 commits 2026-09-28 04:01:52 +02:00
Refuse a bind bound() cannot record, and document it for a 0.4.0 consumer
Mirror / push (push) Successful in 6s
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 45s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 31s
Test / test (26) (pull_request) Successful in 32s
2ac72fb3f4
lilleman added 1 commit 2026-09-28 04:05:07 +02:00
Refuse a bind the server cannot record as it refuses one authenticate turns down
Mirror / push (push) Successful in 6s
Test / lint (pull_request) Successful in 24s
Test / test (18) (pull_request) Successful in 38s
Test / test (20) (pull_request) Successful in 32s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 34s
Test / test (26) (pull_request) Successful in 32s
9a07f75bdf
lilleman added 2 commits 2026-09-28 04:07:44 +02:00
Take bound()'s bind type as a string, name the fix in its refusals, and show the ESME's spelling
Mirror / push (push) Has been cancelled
Test / test (18) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 32s
Test / lint (pull_request) Successful in 23s
Test / test (20) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 31s
Test / test (26) (pull_request) Successful in 32s
4bdb1e64b0
lilleman added 1 commit 2026-09-28 04:08:53 +02:00
Spell out the hand-wired ESME's bind, and where a getter-only assignment throws
Mirror / push (push) Has been cancelled
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 31s
Test / lint (pull_request) Successful in 28s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 37s
Test / test (26) (pull_request) Successful in 31s
2142c2e3bb
lilleman added 1 commit 2026-09-28 04:09:41 +02:00
Name strict-mode code as where a getter-only assignment throws
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 36s
Test / test (26) (pull_request) Successful in 31s
80dc263915
lilleman added 1 commit 2026-09-28 04:11:24 +02:00
Quote a string connectTimeout through quoted() too
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 31s
Test / test (26) (pull_request) Successful in 31s
3f736ff440
lilleman added 1 commit 2026-09-28 04:11:55 +02:00
Tie the bind-state decision to its goal, and drop what MIGRATION holds
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 42s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 32s
Test / test (26) (pull_request) Successful in 31s
Mirror / push (push) Successful in 5s
e4ff71a86b
lilleman marked the pull request as ready for review 2026-09-28 04:37:28 +02:00
lilleman merged commit e4ff71a86b into main 2026-09-28 04:37:29 +02:00
lilleman deleted branch session-bound 2026-09-28 04:37:29 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/smpp-js#42