Tristan B. Kildaire
|
261448159f
|
Had a mistake migrating to the new bformat, now migrated almost.
|
2020-06-16 18:46:26 +02:00 |
Tristan B. Kildaire
|
aec7144106
|
Converted missing bmessage `sendMessage` call.
|
2020-06-16 18:20:45 +02:00 |
Tristan B. Kildaire
|
9db02f607b
|
Updated to new bmessage API.
|
2020-06-16 18:19:46 +02:00 |
Tristan B. Kildaire
|
2b54142439
|
Cleaned up and added TODOs
|
2020-05-15 16:31:35 +02:00 |
Tristan B. Kildaire
|
0b5ca124d6
|
Use new shutdown and send a fatal message.
|
2020-05-15 16:06:40 +02:00 |
Tristan B. Kildaire
|
71632ec1f3
|
Added comment.
Remove dunused function.
|
2020-05-15 15:54:37 +02:00 |
Tristan B. Kildaire
|
a22b65f7c4
|
Renamed "responseType" field to "messageType" field.
|
2020-05-15 12:49:26 +02:00 |
Tristan B. Kildaire
|
615ebc823a
|
Set "responseType" field for status reports.
|
2020-05-15 12:48:23 +02:00 |
Tristan B. Kildaire
|
8d0256d105
|
Added return as to not expect a payload along with the autnetication.
|
2020-05-14 16:00:23 +02:00 |
Tristan B. Kildaire
|
4e091e2f2d
|
Removed todo
|
2020-05-14 14:25:46 +02:00 |
Tristan B. Kildaire
|
06c406ef86
|
Added todo.
|
2020-05-14 14:23:57 +02:00 |
Tristan B. Kildaire
|
00c16b68da
|
Send special status report "auth_special" id for authentication.
|
2020-05-14 14:15:01 +02:00 |
Tristan B. Kildaire
|
1ade3365b1
|
Use shutdown instead.
|
2020-05-14 14:03:54 +02:00 |
Tristan B. Kildaire
|
95577698b8
|
Added ID forwarding.
|
2020-05-14 11:22:41 +02:00 |
Tristan B. Kildaire
|
ea25aabf26
|
Send status report after SEND_CLIENTS
|
2020-05-14 11:12:17 +02:00 |
Tristan B. Kildaire
|
2993f74b05
|
Adding new function to send status reports on errors or sucesses.
|
2020-05-14 11:08:27 +02:00 |
Tristan B. Kildaire
|
e0e7d5ffd0
|
Refactored.
|
2020-05-14 00:48:52 +02:00 |
Tristan B. Kildaire
|
fc33bd0b69
|
Refactored message dispatch.
|
2020-05-14 00:39:45 +02:00 |
Tristan B. Kildaire
|
955cc6d21d
|
Shutdown on general format error.
|
2020-05-14 00:36:12 +02:00 |
Tristan B. Kildaire
|
9f1e63367c
|
Return false.
|
2020-05-14 00:27:37 +02:00 |
Tristan B. Kildaire
|
a9ee569314
|
Removed unused variable and returned `true`.
|
2020-05-14 00:24:27 +02:00 |
Tristan B. Kildaire
|
4442c62ae7
|
Misplaced sendErrorReport call.
|
2020-05-14 00:20:57 +02:00 |
Tristan B. Kildaire
|
70df082f9a
|
Added dummy response with new `id` and `status` system.
|
2020-05-14 00:17:13 +02:00 |
Tristan B. Kildaire
|
27ada909d6
|
Send error reports on errors.
|
2020-05-14 00:05:04 +02:00 |
Tristan B. Kildaire
|
1d7f0b8ac2
|
Created `sendErrorReport` function.
|
2020-05-14 00:01:36 +02:00 |
Tristan B. Kildaire
|
3e570e8066
|
Added comment and fixed compilation error.
|
2020-05-13 23:40:16 +02:00 |
Tristan B. Kildaire
|
79cfe50353
|
Shutdown connecction on fatal protocol error.
|
2020-05-13 23:11:14 +02:00 |
Tristan B. Kildaire
|
007e15caa4
|
Added todo
|
2020-05-13 23:02:44 +02:00 |
Tristan B. Kildaire
|
cc359a14f0
|
Added `"id"` field requirement to `"payload"` block.
|
2020-05-13 23:00:24 +02:00 |
Tristan B. Kildaire
|
d19a7809ca
|
wip
|
2020-05-09 18:04:36 +02:00 |
Tristan B. Kildaire
|
dc850f845d
|
Shutdown now shuts down all connections (besides active handler connections).
|
2020-05-07 19:08:19 +02:00 |
Tristan B. Kildaire
|
b54817e418
|
Updated sendClient and sendServer format.
|
2020-05-04 13:56:18 +02:00 |
Tristan B. Kildaire
|
26bbb171f7
|
New handler message format.
|
2020-05-04 13:23:09 +02:00 |
Tristan B. Kildaire
|
d42f04d29f
|
Added support for "dummy" payload type.
|
2020-05-03 16:10:22 +02:00 |
Tristan B. Kildaire
|
cb3fbd0470
|
Made workable for dub
|
2020-05-02 22:38:25 +02:00 |
Tristan B. Kildaire
|
55d0293d17
|
Disabled `args` field fetch for now as it isn't being used by any built-in command as of yet.
|
2020-05-02 18:27:09 +02:00 |
Tristan B. Kildaire
|
350969af26
|
Set dispatch status on errors.
|
2020-05-02 18:23:35 +02:00 |
Tristan B. Kildaire
|
dd13d80ed4
|
Added return message on dispatch failure for bad json. In the case of a missing payload field.
|
2020-05-02 17:55:04 +02:00 |
Tristan B. Kildaire
|
3a5b458da2
|
Send a status as a response rather than error message.
|
2020-05-02 16:52:30 +02:00 |
Tristan B. Kildaire
|
3cc3ea36e7
|
Removed debug print.
|
2020-05-02 16:23:49 +02:00 |
Tristan B. Kildaire
|
b7d2fa936c
|
Make `sendError` public.
|
2020-05-02 16:19:44 +02:00 |
Tristan B. Kildaire
|
de56cca9a7
|
Added `sendError` function to make sending error messages to the client easier.
|
2020-05-02 16:19:30 +02:00 |
Tristan B. Kildaire
|
1308eb94ce
|
Changed error format.
|
2020-05-02 16:06:38 +02:00 |
Tristan B. Kildaire
|
c970b92c5f
|
Fixed error response.
|
2020-05-02 15:29:11 +02:00 |
Tristan B. Kildaire
|
9796a005b6
|
Respond with an error message on authentication failure.
|
2020-05-02 15:20:50 +02:00 |
Tristan B. Kildaire
|
42664666ce
|
Moved message.d into utils/
|
2020-05-01 09:27:17 +02:00 |
Tristan B. Kildaire
|
e1b0d1fe85
|
Updates.
|
2020-05-01 09:13:42 +02:00 |
Tristan B. Kildaire
|
16d128f7d3
|
Close server connection after one message received
|
2020-04-30 17:38:32 +02:00 |
Tristan B. Kildaire
|
61e09c7602
|
Working handler to handler
|
2020-04-30 15:55:40 +02:00 |
Tristan B. Kildaire
|
d162c3b513
|
Added destructor for BesterConnection to close socket
|
2020-04-29 10:16:39 +02:00 |