Skip to main content

Session Messages

Session messages manage the lifecycle of a TCP connection to a Starbase gateway, including authentication, heartbeating, and sequence number recovery.

LogonRequest (1)

First message sent by client after establishing TCP connection.

LogonResponse (2)

Response to LogonRequest on successful logon.

LogoutRequest (4)

Request by client to gracefully terminate a connection.

LoggedOut (5)

Sent in response to LogonRequest if logon failed, or in response to LogoutRequest, or unsolicited for other reasons.

Heartbeat (10)

Sent by client or server periodically in the absence of other messages.

TestRequest (11)

Request a Heartbeat message. Can be sent by either client or server.

ResendRequest (20)

Sent by client to request resend of a limited number of missed events. Works only when reconnecting to the same gateway host. The server will never send this message to a client.

GapFill (21)

Sent by server in lieu of admin/session messages while handling a resend request.