Constructor
new TopicFactory(actorRequestFactorynon-null)
Parameters:
Name | Type | Description |
---|---|---|
actorRequestFactory |
ActorRequestFactory |
- Source:
- See:
-
- ActorRequestFactory#topic()
Methods
compose(forTargetnon-null, withMasknullable) → {Topic}
Creates a `Topic` for the specified `Target`.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
forTarget |
Target | a `Target` to create a topic for | |
withMask |
FieldMask |
<nullable> |
a mask specifying fields to be returned |
- Source:
Returns:
the instance of `Topic`
- Type
- Topic
select(entitynon-null) → {TopicBuilder}
Creates a new builder of `Topic` instances of the provided type.
Parameters:
Name | Type | Description |
---|---|---|
entity |
Class.<Message> | a Protobuf type of the subscription target entities |
- Source:
Returns:
- Type
- TopicBuilder