Constructor
new TopicBuilder(entitynon-null, topicFactorynon-null)
Parameters:
Name | Type | Description |
---|---|---|
entity |
Class.<Message> | a Protobuf type of the subscription target entities |
topicFactory |
TopicFactory |
- Source:
Extends
- AbstractTargetBuilder.<Topic>
Methods
build() → {Topic}
Creates the `Topic` instance based on the current builder configuration.
- Source:
Returns:
a new topic
- Type
- Topic