uProtocol CloudEvents is a common message envelope that could be used to carry uProtocol messages across the transport. CloudEvents were historically used exclusively in older versions of uProtocol (ex. 1.3.6) and as such are maintained in this project for backwards compatibility support.
This module contains the following classes:
Class | Description |
---|---|
|
A class that wraps a CloudEvent and provides utility methods to extract uProtocol specific attributes from the CloudEvent |
|
A class that represents the uProtocol specific attributes that are added to the CloudEvent |
|
Factory class that builds the various types of CloudEvents for uProtocol (publish, notification, request, response) |
|
A class that serializes and deserializes CloudEvents to and from protobuf and/or JSON formats used in some transports like MQTT in the past |
|
Validates that the CloudEvent contains the correct uProtocol information and format for the various messages types (publish, notification, request, response) |