HyperiumClient / Hyperium-Kotlin

Hyperium Client rewritten in Kotlin with good coding standards.
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Addition of Processes #6

Closed KevinPriv closed 5 years ago

KevinPriv commented 5 years ago

Description

Service (an object that provides functionality to anything else that requests it). Process (an interface repressing something with a lifespan).

This new system makes it so that a Service and Process can clearly be initalised and killed similar to the windows task manager. Processes now have Sub Processes which depend on the process it is on and will be killed once its super/parent process is killed. This makes sense for Mods as they are technically a Process and ModService being a parent Process allows for everything to run correctly even if there is an error in one part of the system and the worst case senario is ModService dying causing all the Mods to stop working/be killed.

Future implementations

Type of change