TopicFactory

public final class TopicFactory

A factory of Topic instances.

Uses the given ActorRequestFactory as a source of the topic meta information such as the actor.

See also

Functions

Link copied to clipboard
public Topic allOf(Class<? extends Message> targetType)
Creates a Topic for all events/entities of the specified type.
Link copied to clipboard
public Topic forTarget(Target target)
Creates a Topic for the specified Target.
Link copied to clipboard
public TopicBuilder select(Class<? extends Message> targetType)
Creates a new instance of TopicBuilder for further Topic construction.