Thread safety¶
These classes are thread-safe:
Within an application, create one Target() object per HCP you need to connect to.
This class is intended as an internal class for hcpsdk.Target(), so normally there is no need to instantiate it directly.
These classes are not thread-safe:
A Connection() should be used within a single thread, only (or you need to provide your own locks to orchestrate usage).
These classes create their own hcpsdk.Connection() uppon the provided hcpsdk.Target(), each of them needs to stay within a single thread: