aisbreaker-api-js - v0.1.15 / services/filters/MirrorFilter / MirrorFilter
Class: MirrorFilter
services/filters/MirrorFilter.MirrorFilter
Every service API must implement this interface.
Hierarchy
↳
MirrorFilter
Table of contents
Constructors
Properties
Methods
- getForward2Service
- getMirroredServiceId
- getMirroredStreamProgressFunction
- getMirroredUsage
- mirrorOutputs
- mirrorString
- process
Constructors
constructor
• new MirrorFilter(serviceProps
, auth?
)
Parameters
Name | Type |
---|---|
serviceProps | FilterProps |
auth? | Auth |
Overrides
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:14
Properties
auth
• Optional
auth: Auth
Inherited from
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:24
serviceProps
• serviceProps: FilterProps
set in constructor
Inherited from
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:23
Methods
getForward2Service
▸ getForward2Service(): AIsService
Returns
Inherited from
BaseAIsFilter.getForward2Service
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/base/BaseAIsFilter.ts:33
getMirroredServiceId
▸ Protected
getMirroredServiceId(origServiceId
): string
Parameters
Name | Type |
---|---|
origServiceId | string |
Returns
string
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:115
getMirroredStreamProgressFunction
▸ Protected
getMirroredStreamProgressFunction(origFunc?
): undefined
| StreamProgressFunction
Parameters
Name | Type |
---|---|
origFunc? | StreamProgressFunction |
Returns
undefined
| StreamProgressFunction
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:86
getMirroredUsage
▸ Protected
getMirroredUsage(origUsage
): Usage
Parameters
Name | Type |
---|---|
origUsage | Usage |
Returns
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:107
mirrorOutputs
▸ Protected
mirrorOutputs(origOutputs
): Output
[]
Parameters
Name | Type |
---|---|
origOutputs | Output [] |
Returns
Output
[]
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:48
mirrorString
▸ Protected
mirrorString(s
): string
Parameters
Name | Type |
---|---|
s | string |
Returns
string
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:81
process
▸ process(request
): Promise
<ResponseFinal
>
Let the service do its work.
Alternative names: infer, derive, task, reply, respond, process, ...
Parameters
Name | Type |
---|---|
request | Request |
Returns
Promise
<ResponseFinal
>
Overrides
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/services/filters/MirrorFilter.ts:18