Session Message Types
username
field. The server validates the username
and password
of the client.
Field | Name | Type | Length | Description |
---|---|---|---|---|
Logon | 100 | 81 | Sent to initiate connections | |
1 | username | String16 | 16 | Logon username |
2 | password | String32 | 32 | Logon password |
3 | resetSeqNum | uint8 | 1 | (1 = true, 0 = false) |
Field | Name | Type | Length | Description |
---|---|---|---|---|
LogonConf | 200 | 36 | Logon confirmation | |
1 | heartbeatIntervalSeconds | Int32 | 4 | Heartbeat interval in seconds. |
Field | Name | Type | Length | Description |
---|---|---|---|---|
Heartbeat | 10 | 40 | Connection Heartbeat, may also be sent in response to a TestRequest | |
1 | correlationId | int64 | 8 | Optional id if sent in response to a TestRequest |
Field | Name | Type | Length | Description |
---|---|---|---|---|
TestRequest | 11 | 40 | TestRequest to request heartbeat, receiver should respond with Heartbeat message with the provided test request id included | |
1 | correlationId | int64 | 8 | Correlation id to be echoed by receiver |
Field | Name | Type | Length | Description |
---|---|---|---|---|
ResendRequest | 102 | 40 | Resend request. | |
1 | fromSequenceNumber | uint32 | 4 | Sequence number of first message to resend. |
2 | toSequenceNumber | uint32 | 4 | Sequence number of last message to resend (or 0 to resend all messages from formSequenceNumber). |
Field | Name | Type | Length | Description |
---|---|---|---|---|
ResendRequest | 202 | 40 | Resend request | |
1 | newSequenceNumber | uint32 | 4 | Sequence number of the next message to be sent. |
2 | padding | uint32 | 4 |
Field | Name | Type | Length | Description |
---|---|---|---|---|
Logout | 101 | 96 | Logout message to gateway | |
1 | reason | String64 | 64 | Logout reason |
Field | Name | Type | Length | Description |
---|---|---|---|---|
Logout | 201 | 96 | Logout message from gateway to client | |
1 | details | String64 | 64 | Logout details |
Field | Name | Type | Length | Description |
---|---|---|---|---|
Reject | 210 | 104 | Reject message from gateway to client | |
1 | refSequenceNumber | uint32 | 4 | Sequence number of the rejected message from client. |
2 | reason | int32 | 4 |
|
3 | details | String64 | 64 | Logout details |