ServerMessageHub was made so I didn't have to worry about how to get messages from DeviceManager up to ButtplugServer. However, this now means we lose all possible errors thrown, which is bad. Have ButtplugServer pass a closure to DeviceManager so it can pass messages up and out of the system as needed.
ServerMessageHub was made so I didn't have to worry about how to get messages from DeviceManager up to ButtplugServer. However, this now means we lose all possible errors thrown, which is bad. Have ButtplugServer pass a closure to DeviceManager so it can pass messages up and out of the system as needed.