1.0.37 โ€ข Published 1 year ago

@ditchoom/mqtt-base-models v1.0.37

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Contributors Forks Stargazers Issues MIT License LinkedIn

About The Project

Runtime Dependencies

Supported Platforms

Platform๐Ÿ› Builds๐Ÿ›  + ๐Ÿ”ฌTests๐Ÿ”ฌDeployed ArtifactNon Kotlin Sample
JVM 1.8๐Ÿš€maven central ๐Ÿ”ฎWIP
Node.js๐Ÿš€npm ๐Ÿ”ฎWIP
Browser (Chrome)๐Ÿš€npm ๐Ÿ”ฎWIP
Android๐Ÿš€maven central ๐Ÿ”ฎWIP
iOS๐Ÿš€WIP cocoapods ๐Ÿ”ฎWIP
WatchOS๐Ÿš€WIP cocoapods ๐Ÿ”ฎWIP
TvOS๐Ÿš€WIP cocoapods ๐Ÿ”ฎWIP
MacOS๐Ÿš€WIP cocoapods ๐Ÿ”ฎWIP
Linux X64๐Ÿš€WIP apt/yum ๐Ÿ”ฎWIP
Windows X64๐Ÿš€WIP chocolatey ๐Ÿ”ฎWIP

Installation

Gradle

NPM

Usage

Control Packet

A ControlPacket defines a message that can be serialized and deserialized over MQTT. More info can be found here

Serializing a Control Packet

ControlPacket.serialize provides a default way to serialize any control packet without knowing specific implementation details. This is useful when writing a generic client that doesn't care how the particular implementation serializes data

Deserializing a Control Packet

ControlPacketFactory provides a mechanism to provide an interface to allocate specific types of control packets regardless of the MQTT version. This allows for an easier upgrade path from MQTT 4 to 5.

Building Locally

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.4

2 years ago