Interface NotificationProfile
- All Known Implementing Classes:
Wis2NotificationProfile
public interface NotificationProfile
Stateless, thread-safe interpretation of incoming MQTT messages. Providers do not own connections or scheduling.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturn null to ignore a message; throw IOException for an invalid notification.name()
-
Field Details
-
API_VERSION
static final int API_VERSION- See Also:
-
-
Method Details
-
apiVersion
default int apiVersion() -
name
String name() -
decode
Return null to ignore a message; throw IOException for an invalid notification.- Throws:
IOException
-