public final class TopicFactory
extends java.lang.Object
Topic
instances.
Uses the given ActorRequestFactory
as a source of the topic meta information
such as the actor.
ActorRequestFactory.topic()
Modifier and Type | Method and Description |
---|---|
io.spine.client.Topic |
allOf(java.lang.Class<? extends com.google.protobuf.Message> targetType)
Creates a
Topic for all events/entities of the specified type. |
TopicBuilder |
select(java.lang.Class<? extends com.google.protobuf.Message> targetType)
Creates a new instance of
TopicBuilder for further Topic
construction. |
public TopicBuilder select(java.lang.Class<? extends com.google.protobuf.Message> targetType)
TopicBuilder
for further Topic
construction.targetType
- a class of target events/entitiesTopicBuilder
instancepublic io.spine.client.Topic allOf(java.lang.Class<? extends com.google.protobuf.Message> targetType)
Topic
for all events/entities of the specified type.targetType
- a class of target events/entitiesTopic
assembled according to the parameters