mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
| .. | ||
| lib | ||
| .npmignore | ||
| CHANGELOG.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
@serialport/BindingAbstract
This Abstract binding class is the base for all serialport bindings. You wouldn't use this class directly but instead extend it to make a new binding for a different platform or underling technology.
This is currently used for the win32, linux, darwin and mock bindings.
This is how you use it.
class MockBinding extends AbstractBinding {
constructor(opt) {
super(opt)
}
}