Commit Graph

357 Commits

Author SHA1 Message Date
Tristan B. Kildaire fdcb23ddf8 Added comments.
Added `createAccount` function.
2020-05-08 10:39:02 +02:00
Tristan B. Kildaire 2003505979 Added WIP classes for data store backend. 2020-05-08 10:32:22 +02:00
Tristan B. Kildaire 5a5241a0c8 Added vibe-d as a dependancy. 2020-05-08 10:28:07 +02:00
Tristan B. Kildaire bd409551db Fixed comment.
Added missing comment.
2020-05-07 22:34:29 +02:00
Tristan B. Kildaire eeaba93bb2 Cleaned up 2020-05-07 21:22:45 +02:00
Tristan B. Kildaire c0b328aaff Cleaned up. 2020-05-07 21:22:10 +02:00
Tristan B. Kildaire 28a043dc29 Cleaned up. 2020-05-07 21:14:31 +02:00
Tristan B. Kildaire 7864a60fff Fixed comment. 2020-05-07 20:52:11 +02:00
Tristan B. Kildaire a3d71c7267 Added some missing comments in response.d 2020-05-07 20:39:41 +02:00
Tristan B. Kildaire f58ad52ca5 Fixed comments in server.d 2020-05-07 20:38:31 +02:00
Tristan B. Kildaire de51e7eff3 Removed uneeded whitespace. 2020-05-07 20:27:03 +02:00
Tristan B. Kildaire 65f7574d57 Added missing comments. 2020-05-07 19:43:42 +02:00
Tristan B. Kildaire 5e68fd511d Added todo 2020-05-07 19:34:21 +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 9f43a9f153 Added server shutdown function to shutdown informer.
Added shutdown function for informer to shutdown informer service.
Added shutdown function to informer client to shutdown informer client.
2020-05-07 19:01:00 +02:00
Tristan B. Kildaire cbc52a6ab7 Added control variable to stop informer server.
Close socket on informer stop.
2020-05-07 18:54:33 +02:00
Tristan B. Kildaire 6f29c3770e Close socket after run. 2020-05-07 18:42:22 +02:00
Tristan B. Kildaire 8fc41ac50c Added missing comment for function. 2020-05-07 18:12:45 +02:00
Tristan B. Kildaire 55d4dfabe2 Added new field for future feature. 2020-05-07 18:12:37 +02:00
Tristan B. Kildaire 3b16145c79 Added comment. 2020-05-07 17:42:30 +02:00
Tristan B. Kildaire 18d35d2374 Added comments. 2020-05-05 09:25:05 +02:00
Tristan B. Kildaire 58f5124f46 Removed old code for built-in handlers in sendHandler. 2020-05-05 09:16:24 +02:00
Tristan B. Kildaire 909717bca7 Added comment. 2020-05-05 08:24:32 +02:00
Tristan B. Kildaire cd03e14ff1 Set class `BeesterInformerClient to final. 2020-05-05 08:23:43 +02:00
Tristan B. Kildaire 96d277bbb7 Cleaned up.
Added missing comment.
2020-05-04 23:14:15 +02:00
Tristan B. Kildaire f6b5551fa6 Return `false` and an null JSONValue on unknown command. 2020-05-04 23:00:43 +02:00
Tristan B. Kildaire 39932b0c5d Added support for `isClient` informer command. 2020-05-04 22:37:26 +02:00
Tristan B. Kildaire 1fcfaffa28 Added `isClient` function. 2020-05-04 22:35:07 +02:00
Tristan B. Kildaire 61e0d9f3d3 Added comment. 2020-05-04 22:32:21 +02:00
Tristan B. Kildaire a7fb6d42c5 Added informer handler comunication loop. 2020-05-04 15:45:57 +02:00
Tristan B. Kildaire 86ce419db6 Fixed compile errors. 2020-05-04 15:27:16 +02:00
Tristan B. Kildaire 3d1607ee9e Refactored informer mechanism. 2020-05-04 15:22:49 +02:00
Tristan B. Kildaire c29cc89f8b Fixed compile error. 2020-05-04 15:17:53 +02:00
Tristan B. Kildaire 6530114414 Moved comment. 2020-05-04 15:17:38 +02:00
Tristan B. Kildaire 222fd3a1b4 WIP: Informer mechanism. 2020-05-04 15:17:31 +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 c04ba6b213 Added comment. 2020-05-02 22:43:05 +02:00
Tristan B. Kildaire cb3fbd0470 Made workable for dub 2020-05-02 22:38:25 +02:00
Tristan B. Kildaire 5d23ed0727 Use new `bformat` library for messaging. 2020-05-02 20:05:05 +02:00
Tristan B. Kildaire b9d15c55bd Removed todo. 2020-05-02 19:18:02 +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 9dc2ec3616 New test added. 2020-05-02 18:23:59 +02:00
Tristan B. Kildaire ec2648dba4 Updated .gitignore. 2020-05-02 18:23:49 +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 885c937893 Added testing code. 2020-05-02 17:40:40 +02:00
Tristan B. Kildaire 5cb5fde2ac Renamed tests. 2020-05-02 17:25:26 +02:00
Tristan B. Kildaire 3a5b458da2 Send a status as a response rather than error message. 2020-05-02 16:52:30 +02:00