This branch is being used to do some cleanup of the codebase.
The first patch cleans up and separates the utils.py into their components.
This is broken up into config.py now and anything left in utils.py is really just
general purpose utility stuff.
The second patch is to refactor the client objects. The client objects now have exactly
the same basic API, so the custom transport (aprsis vs kiss) detecting in the messaging objects
is no longer needed. This makes this quite a bit cleaner and straight forward. The new ClientFactory
registers all client types and creates the correct singleton depending on the config options. The
rest of the code doesn't have to know which one to create/use. Just call the client.factory.create()
and you will get the correct client object.
This branch is being used to do some cleanup of the codebase.
The first patch cleans up and separates the utils.py into their components.
This is broken up into config.py now and anything left in utils.py is really just general purpose utility stuff.
The second patch is to refactor the client objects. The client objects now have exactly the same basic API, so the custom transport (aprsis vs kiss) detecting in the messaging objects is no longer needed. This makes this quite a bit cleaner and straight forward. The new ClientFactory registers all client types and creates the correct singleton depending on the config options. The rest of the code doesn't have to know which one to create/use. Just call the client.factory.create() and you will get the correct client object.