Closed EAGrahamJr closed 1 year ago
I see this is actually managed in sub-classes of this factory - closing.
np - this internal aspect has evolved a bit over the years - doing my best to provide a completely seamless user experience and handle all of the device cleanup stuff.
There are several methods used with the
DeviceStates
internal class to determine whether or not devices are "opened" or not (isDeviceOpened
,deviceOpened
,deviceClosed
).deviceClosed
is actually invoked by theAbstractDevice
. However, there is no "automatic" (or semi-automatic) means to utilized the other two associated functions.This issue is to track the addition of a method to the
AbstractDeviceFactory
for implementations to easily track device open/close.