-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91c24d9
commit 87b1e55
Showing
8 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Architecture ============= | ||
The internal structure of pymodbus is a bit complicated, mostly due to the mixture of sync and async. | ||
|
||
The overall architecture can be viewed as: | ||
|
||
Client classes (interface to applications) | ||
mixin (interface with all requests defined as methods) | ||
transaction (handles transactions and allow concurrent calls) | ||
framers (add pre/post headers to make a valid package) | ||
transport (handles actual transportation) | ||
|
||
Server classes (interface to applications) | ||
datastores (handles registers/values to be returned) | ||
transaction (handles transactions and allow concurrent calls) | ||
framers (add pre/post headers to make a valid package) | ||
transport (handles actual transportation) | ||
|
||
In detail the packages can viewed as: | ||
|
||
.. image:: packages.png | ||
|
||
|
||
In detail the classes can be viewed as: | ||
|
||
.. image:: classes.png | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.