Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
ConfigExchange
Class ConfigExchange
Hierarchy
AbstractExchange
<
ConfigRequest
,
ConfigResponse
>
ConfigExchange
Index
Constructors
constructor
Properties
logger
req
Cls
res
Cls
Methods
create
get
Req
Class
get
Res
Class
get
Response
get
System
handle
Request
handle
Response
is
Active
key
on
Request
prepare
Constructors
constructor
new
Config
Exchange
(
)
:
ConfigExchange
Returns
ConfigExchange
Properties
logger
logger
:
ILoggerApi
= ...
Readonly
req
Cls
req
Cls
:
ClassType
<
ConfigRequest
>
Readonly
res
Cls
res
Cls
:
ClassType
<
ConfigResponse
>
Methods
create
create
(
options
?:
IMessageOptions
)
:
Message
<
ConfigRequest
,
ConfigResponse
>
Parameters
options:
IMessageOptions
= {}
Returns
Message
<
ConfigRequest
,
ConfigResponse
>
get
Req
Class
get
Req
Class
(
)
:
ClassType
<
ConfigRequest
>
Returns
ClassType
<
ConfigRequest
>
get
Res
Class
get
Res
Class
(
)
:
ClassType
<
ConfigResponse
>
Returns
ClassType
<
ConfigResponse
>
get
Response
get
Response
(
request
:
ConfigRequest
)
:
Promise
<
ConfigResponse
>
Parameters
request:
ConfigRequest
Returns
Promise
<
ConfigResponse
>
get
System
get
System
(
)
:
System
Returns
System
handle
Request
handle
Request
(
request
:
ConfigRequest
, res
:
ConfigResponse
)
:
void
Parameters
request:
ConfigRequest
res:
ConfigResponse
Returns
void
handle
Response
handle
Response
(
responses
:
ConfigResponse
)
:
any
Parameters
responses:
ConfigResponse
Returns
any
is
Active
is
Active
(
)
:
boolean
Give possiblity to mark this exchange as disabled
Returns
boolean
key
key
(
key
:
string
, opts
?:
IMessageOptions
)
:
Promise
<
any
[]
>
Parameters
key:
string
opts:
IMessageOptions
= {}
Returns
Promise
<
any
[]
>
on
Request
on
Request
(
request
:
ConfigRequest
)
:
Promise
<
any
>
Parameters
request:
ConfigRequest
Returns
Promise
<
any
>
prepare
prepare
(
opts
?:
any
)
:
void
Parameters
opts:
any
= {}
Returns
void
Modules
Activator
Bootstrap
Startup
index
Config
Exchange
constructor
logger
req
Cls
res
Cls
create
get
Req
Class
get
Res
Class
get
Response
get
System
handle
Request
handle
Response
is
Active
key
on
Request
prepare
Generated using
TypeDoc
Give possiblity to mark this exchange as disabled