Interface MessageBrokerMapper
-
public interface MessageBrokerMapperDefines the interface of a message broker specification mapper.
-
-
Field Summary
Fields Modifier and Type Field Description static MessageBrokerMapperINSTANCEThe default singleton instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.smartgridready.driver.api.messaging.model.MessageBrokermapToDriverApi(com.smartgridready.ns.v0.MessageBrokerListElement messageBroker)Maps the message broker specification to its driver equivalent.
-
-
-
Field Detail
-
INSTANCE
static final MessageBrokerMapper INSTANCE
The default singleton instance.
-
-
Method Detail
-
mapToDriverApi
com.smartgridready.driver.api.messaging.model.MessageBroker mapToDriverApi(com.smartgridready.ns.v0.MessageBrokerListElement messageBroker)
Maps the message broker specification to its driver equivalent.- Parameters:
messageBroker- the message broker specification- Returns:
- the driver specification
-
-