public final class MappingService
extends java.lang.Object
Publisher,
Subscriber,
TopicAdminHelper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CYCLE_SELECTOR_PROPERTY
Static field that holds the property name to be used for filtering on cycle
selector.
|
| Constructor and Description |
|---|
MappingService() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
mapCycleSelectorToSelector(java.lang.String cycle)
Static method to automatically create the message selector associated with the given cycle selector string
|
static java.lang.String |
mapPropertyToTopic(java.lang.String deviceClass,
java.lang.String deviceName,
java.lang.String propertyName)
Static method to automatically get the topic name associated with the triplet
deviceClass, deviceName, propertyName
|
public static final java.lang.String CYCLE_SELECTOR_PROPERTY
public static java.lang.String mapPropertyToTopic(java.lang.String deviceClass,
java.lang.String deviceName,
java.lang.String propertyName)
throws MOMException
deviceClass - The device classdeviceName - The device namepropertyName - The property nameMOMException - A MOMExceptionpublic static java.lang.String mapCycleSelectorToSelector(java.lang.String cycle)
throws MOMException
cycle - The cycle selector string representationMOMException - A MOMException