Constructor
new ActorRequestFactory(actorProvidernon-null, tenantProvidernullable)
Creates a new instance of ActorRequestFactory for the given actor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
actorProvider |
ActorProvider | a provider of an actor | |
tenantProvider |
TenantProvider |
<nullable> |
a provider of the current tenant, if omitted, the application is considered single-tenant |
- Source:
Classes
Methods
command() → {CommandFactory}
Creates a new command factory for building various commands based on configuration of this
`ActorRequestFactory` instance.
- Source:
Returns:
- Type
- CommandFactory
query() → {QueryFactory}
Creates a new query factory for building various queries based on configuration of this
`ActorRequestFactory` instance.
- Source:
Returns:
- Type
- QueryFactory
topic() → {TopicFactory}
Creates a new topic factory for building subscription topics based on configuration of this
`ActorRequestFactory` instance.
- Source:
Returns:
- Type
- TopicFactory
(protected, static) _zoneOffset() → {ZoneOffset}
- Source:
Returns:
- Type
- ZoneOffset
(static) create(optionsnon-null) → {ActorRequestFactory}
Creates a new `ActorRequestFactory` based on the passed options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | the client initialization options |
- Source:
Returns:
a new `ActorRequestFactory` instance
- Type
- ActorRequestFactory