Search
Preparing search index...
The search index is not available
@nestjs/microservices
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ListenersController
Class ListenersController
Hierarchy
ListenersController
Index
Constructors
constructor
Properties
client
Factory
clients
Container
container
context
Creator
exception
Filters
Cache
exception
Filters
Context
injector
metadata
Explorer
Methods
assign
Client
ToInstance
assign
Clients
ToProperties
create
Request
Scoped
Handler
get
Context
Id
register
Pattern
Handlers
Constructors
constructor
new
Listeners
Controller
(
clientsContainer
:
ClientsContainer
, contextCreator
:
RpcContextCreator
, container
:
NestContainer
, injector
:
Injector
, clientFactory
:
IClientProxyFactory
, exceptionFiltersContext
:
ExceptionFiltersContext
)
:
ListenersController
Parameters
clientsContainer:
ClientsContainer
contextCreator:
RpcContextCreator
container:
NestContainer
injector:
Injector
clientFactory:
IClientProxyFactory
exceptionFiltersContext:
ExceptionFiltersContext
Returns
ListenersController
Properties
Private
Readonly
client
Factory
client
Factory
:
IClientProxyFactory
Private
Readonly
clients
Container
clients
Container
:
ClientsContainer
Private
Readonly
container
container
:
NestContainer
Private
Readonly
context
Creator
context
Creator
:
RpcContextCreator
Private
Readonly
exception
Filters
Cache
exception
Filters
Cache
:
WeakMap
<
object
,
any
>
= new WeakMap()
Private
Readonly
exception
Filters
Context
exception
Filters
Context
:
ExceptionFiltersContext
Private
Readonly
injector
injector
:
Injector
Private
Readonly
metadata
Explorer
metadata
Explorer
:
ListenerMetadataExplorer
= new ListenerMetadataExplorer(new MetadataScanner(),)
Methods
assign
Client
ToInstance
assign
Client
ToInstance<T>
(
instance
:
Controller
|
Injectable
, property
:
string
, client
:
T
)
:
void
Type parameters
T =
any
Parameters
instance:
Controller
|
Injectable
property:
string
client:
T
Returns
void
assign
Clients
ToProperties
assign
Clients
ToProperties
(
instance
:
Controller
|
Injectable
)
:
void
Parameters
instance:
Controller
|
Injectable
Returns
void
create
Request
Scoped
Handler
create
Request
Scoped
Handler
(
wrapper
:
InstanceWrapper
, pattern
:
PatternMetadata
, moduleRef
:
Module
, moduleKey
:
string
, methodKey
:
string
, defaultCallMetadata
?:
Record
<
string
,
any
>
)
:
(Anonymous function)
Parameters
wrapper:
InstanceWrapper
pattern:
PatternMetadata
moduleRef:
Module
moduleKey:
string
methodKey:
string
Default value
defaultCallMetadata:
Record
<
string
,
any
>
= DEFAULT_CALLBACK_METADATA
Returns
(Anonymous function)
Private
get
Context
Id
get
Context
Id<T>
(
request
:
T
)
:
ContextId
Type parameters
T
:
RequestContext
=
any
Parameters
request:
T
Returns
ContextId
register
Pattern
Handlers
register
Pattern
Handlers
(
instanceWrapper
:
InstanceWrapper
<
Controller
|
Injectable
>
, server
:
Server
&
CustomTransportStrategy
, moduleKey
:
string
)
:
void
Parameters
instanceWrapper:
InstanceWrapper
<
Controller
|
Injectable
>
server:
Server
&
CustomTransportStrategy
moduleKey:
string
Returns
void
Globals
Listeners
Controller
constructor
client
Factory
clients
Container
container
context
Creator
exception
Filters
Cache
exception
Filters
Context
injector
metadata
Explorer
assign
Client
ToInstance
assign
Clients
ToProperties
create
Request
Scoped
Handler
get
Context
Id
register
Pattern
Handlers
Generated using
TypeDoc