Commit Graph

35 Commits

Author SHA1 Message Date
4df970a542 Changed ClientAPI to InteractionAPI. 2021-04-21 02:00:50 -05:00
2b5a43f95f Removed unused communicable body data structure. 2021-04-21 01:50:33 -05:00
1f9a2a4a5f Removed unused file and updated UML.
Changed a few method names as well.
2021-04-21 01:44:16 -05:00
7438a76bf7 Separated view request from delta request and respective responses. 2021-04-21 01:14:05 -05:00
f61bbd3a9e Renamed subprojects and changed namespace names. 2021-04-20 23:55:03 -05:00
f5a181d2f2 Added tests for LRUCache.
Moved core test code to reflect changes in core code.

Removed unused using directives.
2021-04-19 14:41:11 -05:00
35a2765559 Changed logging system to be event based.
Implemented LRUCache for instantiating services without starting.

Service state changed back to enumerator.

Namespace refactoring.
2021-04-19 01:34:45 -05:00
cac5ca054c IPCPresenter now takes IPCMediator as contructor argument. 2021-04-15 22:14:08 -05:00
0991dc6214 IPCMediator now disposes of all connection pipes before waiting.
Changed mediator names in IPCMediatorTest.

Increased catching specificity from same type of exception.
2021-04-15 22:09:05 -05:00
a0775fdf8e Added disposing of currently waiting pipe and connected log listeners.
These changes fix the problem with service descriptor being unable to stop on Linux.
2021-04-15 21:14:16 -05:00
911724627e Added proper disposing to ServiceDescriptor.
Fixed ServiceDescriptor tests where cancellation didn't work.

Disposing currently awaited pipe terminates the task.
2021-04-10 15:25:29 -05:00
a6f4d918cb Fixed Windows OS exception on async cancel.
Specifically, ObjectDisposedException: Safe handle has been closed.
2021-04-10 14:03:13 -05:00
78e9e185c2 Changed pipe names to end with ".pipe".
Added timeouts to closing.
2021-04-10 13:57:38 -05:00
a44ad71f59 Added a few more debug messages. 2021-04-09 01:10:26 -05:00
56e12ec22a Added more logging to IPCMediator.cs 2021-04-09 00:38:47 -05:00
8ebe9ee9f7 ServiceDescriptor waits a little for initial pipe setup. 2021-04-08 23:02:54 -05:00
89b23258aa Logger is now thread safe. 2021-04-08 22:26:27 -05:00
455efcbfe3 Substituted extension method for normal equivalent. 2021-04-08 22:25:59 -05:00
3f1836d468 Fixed not instantiating cancellation token. 2021-04-08 22:22:20 -05:00
dfc54fdc00 Implemented IPC system with minimal testing.
Large naming refactoring.

Added some more tests.
2021-04-08 21:36:08 -05:00
56259ac419 Tests written for service info persistence.
Class names also changed.
2021-03-31 22:29:17 -05:00
97967ce0c6 Changed method names. 2021-03-31 19:38:32 -05:00
067c8f5824 Restructured untested persistence system.
No longer conforming to C# dictionary format.
Caught bug in untested persistence system.
2021-03-31 15:38:22 -05:00
ba970dac4c Cleaned up code.
Changed variable names that hide fields.
Removed unused imports.
2021-03-30 21:57:08 -05:00
f402b8b7f2 Fixed method of access game modules.
Added some documentation.
Changed data persistence structure.
General naming changes.
Updated tests appropriately.
2021-03-30 15:22:28 -05:00
c7fadd8166 Changed how services work, updated tests and UML to reflect changes.
Began adding persistence, but untested.
2020-12-29 23:14:42 -06:00
0cf2335aa7 Refactored naming and directory layout of project. 2020-12-28 00:43:02 -06:00
334fd37dc6 Added option to delete service.
Added method to remove service to ServiceManager.cs.
2020-12-27 19:17:47 -06:00
53e8427b66 Added data flow chart for console and added structure for ServiceManager control to UML file. 2020-12-27 15:33:17 -06:00
4996982c89 ServiceManager completed and ServiceInfo modified to increase encapsulation.
ServiceManager tested and ServiceInfo tests updated to reflect changes.
2020-12-26 13:50:09 -06:00
3a49502970 Cleaned up code smells.
Made fields readonly when possible.

Changed message for exception regarding argument to be correct.
2020-12-25 03:50:37 -06:00
acd735d9df Began implementing explicit log flushing. 2020-12-25 03:50:18 -06:00
e4f2ebf792 Removed unecessary method. 2020-12-25 03:37:26 -06:00
ca7221ea42 Added vscode assets. 2020-12-25 02:28:39 -06:00
6467c178c3 Basic service entity completed and tested.
added UML to guide actual implementation for Host.

ModuleLoader, ServiceGateway, are written but untested.
2020-12-24 16:33:17 -06:00