Skip to content
Christopher Piekarski edited this page Dec 17, 2019 · 3 revisions

Full documentation can be found here

The jsocket package is for use during the development of distributed systems. There are two ways to use the package. The first and simplest way is to create a custom single threaded server by overloading the the jsocket.ThreadedServer class. The second, is to use the server factory functionality by overloading the jsocket.ServerFactoryThread class and passing this declaration to the jsocket.ServerFactory(FactoryThread) object. This creates a multithreaded custom JSON server for any number of simultaneous clients.

Using some UML notation you can decipher the inheritance of the jsocket package to be six new module classes and two existing Python classes:

Clone this wiki locally