@genesislcap/foundation-comms 14.167.1 → 14.167.3-alpha-b40d1e5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/connect/connect.d.ts +11 -1
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/connect.events.d.ts +173 -0
- package/dist/dts/connect/connect.events.d.ts.map +1 -0
- package/dist/dts/connect/http.connect.d.ts +1 -0
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/index.d.ts +2 -0
- package/dist/dts/connect/index.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +51 -0
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts +72 -8
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/connect/socket.status.d.ts +79 -0
- package/dist/dts/connect/socket.status.d.ts.map +1 -0
- package/dist/dts/datasource/datasource.d.ts +9 -0
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/fdc3/fdc3.d.ts +17 -1
- package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/networkMonitor/config.d.ts +56 -0
- package/dist/dts/networkMonitor/config.d.ts.map +1 -0
- package/dist/dts/networkMonitor/index.d.ts +4 -0
- package/dist/dts/networkMonitor/index.d.ts.map +1 -0
- package/dist/dts/networkMonitor/service.d.ts +193 -0
- package/dist/dts/networkMonitor/service.d.ts.map +1 -0
- package/dist/dts/networkMonitor/types.d.ts +133 -0
- package/dist/dts/networkMonitor/types.d.ts.map +1 -0
- package/dist/dts/testing/mocks/connect/connect.d.ts +1 -0
- package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +5 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +1 -0
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/user/user.d.ts +15 -0
- package/dist/dts/user/user.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +5 -2
- package/dist/esm/connect/connect.events.js +113 -0
- package/dist/esm/connect/connect.js +30 -8
- package/dist/esm/connect/http.connect.js +6 -0
- package/dist/esm/connect/index.js +2 -0
- package/dist/esm/connect/message.js +25 -4
- package/dist/esm/connect/socket.js +113 -44
- package/dist/esm/connect/socket.status.js +119 -0
- package/dist/esm/datasource/datasource.js +18 -8
- package/dist/esm/fdc3/fdc3.js +4 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/networkMonitor/config.js +46 -0
- package/dist/esm/networkMonitor/index.js +3 -0
- package/dist/esm/networkMonitor/service.js +432 -0
- package/dist/esm/networkMonitor/types.js +5 -0
- package/dist/esm/testing/mocks/connect/connect.js +3 -0
- package/dist/esm/testing/mocks/connect/socket.js +1 -1
- package/dist/esm/testing/mocks/datasource/datasource.js +1 -0
- package/dist/esm/user/user.js +22 -1
- package/dist/foundation-comms.api.json +14711 -8166
- package/dist/foundation-comms.d.ts +841 -13
- package/docs/api/foundation-comms.commitevent.md +14 -0
- package/docs/api/foundation-comms.commiteventdetail.md +17 -0
- package/docs/api/foundation-comms.commiteventtype.md +12 -0
- package/docs/api/foundation-comms.connect.getmorecolumns.md +26 -0
- package/docs/api/foundation-comms.connect.md +1 -0
- package/docs/api/foundation-comms.connectevents.addcommitlistener.md +24 -0
- package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +24 -0
- package/docs/api/foundation-comms.connectevents.addstreamlistener.md +25 -0
- package/docs/api/foundation-comms.connectevents.md +22 -0
- package/docs/api/foundation-comms.connecteventsemitter.md +24 -0
- package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +25 -0
- package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +26 -0
- package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +24 -0
- package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +27 -0
- package/docs/api/foundation-comms.currentuser.md +2 -0
- package/docs/api/foundation-comms.currentuser.set.md +22 -0
- package/docs/api/foundation-comms.currentuser.unset.md +15 -0
- package/docs/api/foundation-comms.datasource.destroy.md +17 -0
- package/docs/api/foundation-comms.datasource.md +1 -0
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +2 -1
- package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +22 -0
- package/docs/api/foundation-comms.defaultconnect.md +2 -1
- package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +25 -0
- package/docs/api/foundation-comms.defaultconnectevents.md +27 -0
- package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +25 -0
- package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +26 -0
- package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +24 -0
- package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +27 -0
- package/docs/api/foundation-comms.defaultdatasource.destroy.md +17 -0
- package/docs/api/foundation-comms.defaultdatasource.md +1 -0
- package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +22 -0
- package/docs/api/foundation-comms.defaulthttpconnect.md +1 -0
- package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +21 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +24 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +24 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +25 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +15 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +23 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +22 -0
- package/docs/api/foundation-comms.defaultmessagebuilder.md +41 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +23 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +16 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +16 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.md +31 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +22 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +11 -0
- package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +12 -0
- package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +13 -0
- package/docs/api/foundation-comms.defaultsocket._constructor_.md +24 -0
- package/docs/api/foundation-comms.defaultsocket.connect.md +24 -0
- package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +13 -0
- package/docs/api/foundation-comms.defaultsocket.isconfigured.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocket.md +44 -0
- package/docs/api/foundation-comms.defaultsocket.reset.md +15 -0
- package/docs/api/foundation-comms.defaultsocket.send.md +23 -0
- package/docs/api/foundation-comms.defaultsocket.sendforstream.md +25 -0
- package/docs/api/foundation-comms.defaultsocket.socketmessages.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.md +42 -0
- package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +22 -0
- package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +11 -0
- package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +15 -0
- package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +15 -0
- package/docs/api/foundation-comms.genesisconnectevents.md +18 -0
- package/docs/api/foundation-comms.getnetworkmonitor.md +30 -0
- package/docs/api/foundation-comms.getsocket.md +30 -0
- package/docs/api/foundation-comms.getsocketstatus.md +30 -0
- package/docs/api/foundation-comms.md +39 -0
- package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +30 -0
- package/docs/api/foundation-comms.messagebuilder.md +1 -0
- package/docs/api/foundation-comms.messagehaserrorcode.md +13 -0
- package/docs/api/foundation-comms.messagetype.md +2 -0
- package/docs/api/foundation-comms.metadataevent.md +14 -0
- package/docs/api/foundation-comms.metadataeventdetail.md +18 -0
- package/docs/api/foundation-comms.metadataeventtype.md +12 -0
- package/docs/api/foundation-comms.monitoredresource.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcechecks.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.md +23 -0
- package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +11 -0
- package/docs/api/foundation-comms.monitoredresourcedatalogon.md +15 -0
- package/docs/api/foundation-comms.monitoredresourcemetadata.md +15 -0
- package/docs/api/foundation-comms.networklogger.md +12 -0
- package/docs/api/foundation-comms.networkmonitor.addresource.md +23 -0
- package/docs/api/foundation-comms.networkmonitor.create.md +15 -0
- package/docs/api/foundation-comms.networkmonitor.destroy.md +15 -0
- package/docs/api/foundation-comms.networkmonitor.md +34 -0
- package/docs/api/foundation-comms.networkmonitor.removeresource.md +22 -0
- package/docs/api/foundation-comms.networkmonitor.runallchecks.md +23 -0
- package/docs/api/foundation-comms.networkmonitor.status.md +11 -0
- package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.md +27 -0
- package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +13 -0
- package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +18 -0
- package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +13 -0
- package/docs/api/foundation-comms.resourcehealth.md +19 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +13 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.serializedsocketstatus.md +30 -0
- package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +11 -0
- package/docs/api/foundation-comms.socket.md +3 -11
- package/docs/api/foundation-comms.socket.sendforstream.md +2 -1
- package/docs/api/{foundation-comms.socket.isconnectedsubject.md → foundation-comms.socketstatus.isconnectedsubject.md} +2 -2
- package/docs/api/foundation-comms.socketstatus.md +28 -0
- package/docs/api/foundation-comms.socketstatus.onclose.md +22 -0
- package/docs/api/foundation-comms.socketstatus.serialize.md +15 -0
- package/docs/api/foundation-comms.streamcompleteevent.md +14 -0
- package/docs/api/foundation-comms.streamcompleteeventtype.md +12 -0
- package/docs/api/foundation-comms.streamevent.md +14 -0
- package/docs/api/foundation-comms.streameventdetail.md +19 -0
- package/docs/api/foundation-comms.streameventfunctions.md +19 -0
- package/docs/api/foundation-comms.streameventtype.md +12 -0
- package/docs/api/foundation-comms.systemhealthchanged.md +13 -0
- package/docs/api/foundation-comms.systemhealthchangedevent.md +15 -0
- package/docs/api/foundation-comms.systemhealthstatus.md +29 -0
- package/docs/api/foundation-comms.user.md +2 -0
- package/docs/api/foundation-comms.user.set.md +22 -0
- package/docs/api/foundation-comms.user.unset.md +15 -0
- package/docs/api-report.md +520 -16
- package/package.json +13 -11
- package/docs/api/foundation-comms.socket.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.socket.isconnected.md +0 -11
- package/docs/api/foundation-comms.socket.isreconnecting.md +0 -11
@@ -0,0 +1,27 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onStreamEvent](./foundation-comms.defaultconnectevents.onstreamevent.md)
|
4
|
+
|
5
|
+
## DefaultConnectEvents.onStreamEvent() method
|
6
|
+
|
7
|
+
Called by Connect.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
| Parameter | Type | Description |
|
18
|
+
| --- | --- | --- |
|
19
|
+
| resourceName | string | The name of the resource. |
|
20
|
+
| message | [Message](./foundation-comms.message.md)<!-- --><[MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->> | The message. |
|
21
|
+
| stream | [SocketObservable](./foundation-comms.socketobservable.md)<!-- --><any> | The actual stream itself. |
|
22
|
+
| functions | [StreamEventFunctions](./foundation-comms.streameventfunctions.md) | Any functions provided. |
|
23
|
+
|
24
|
+
**Returns:**
|
25
|
+
|
26
|
+
void
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [destroy](./foundation-comms.defaultdatasource.destroy.md)
|
4
|
+
|
5
|
+
## DefaultDatasource.destroy() method
|
6
|
+
|
7
|
+
Destroy the datasource.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
destroy(): void;
|
13
|
+
```
|
14
|
+
**Returns:**
|
15
|
+
|
16
|
+
void
|
17
|
+
|
@@ -43,6 +43,7 @@ export declare class DefaultDatasource implements Datasource
|
|
43
43
|
| Method | Modifiers | Description |
|
44
44
|
| --- | --- | --- |
|
45
45
|
| [deinit()](./foundation-comms.defaultdatasource.deinit.md) | | |
|
46
|
+
| [destroy()](./foundation-comms.defaultdatasource.destroy.md) | | Destroy the datasource. |
|
46
47
|
| [init(options, fetchMeta)](./foundation-comms.defaultdatasource.init.md) | | |
|
47
48
|
| [snapshot()](./foundation-comms.defaultdatasource.snapshot.md) | | |
|
48
49
|
| [snapshotFiltered(rowId)](./foundation-comms.defaultdatasource.snapshotfiltered.md) | | |
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultHttpConnect](./foundation-comms.defaulthttpconnect.md) > [getMoreColumns](./foundation-comms.defaulthttpconnect.getmorecolumns.md)
|
4
|
+
|
5
|
+
## DefaultHttpConnect.getMoreColumns() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
getMoreColumns(sourceRef: string): Promise<Message>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| sourceRef | string | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
Promise<[Message](./foundation-comms.message.md)<!-- -->>
|
22
|
+
|
@@ -41,6 +41,7 @@ export declare class DefaultHttpConnect implements Connect
|
|
41
41
|
| [getAvailableResources(params)](./foundation-comms.defaulthttpconnect.getavailableresources.md) | | |
|
42
42
|
| [getJSONSchema(resourceName)](./foundation-comms.defaulthttpconnect.getjsonschema.md) | | |
|
43
43
|
| [getMetadata(resourceName, useCache)](./foundation-comms.defaulthttpconnect.getmetadata.md) | | |
|
44
|
+
| [getMoreColumns(sourceRef)](./foundation-comms.defaulthttpconnect.getmorecolumns.md) | | |
|
44
45
|
| [getMoreRows(sourceRef)](./foundation-comms.defaulthttpconnect.getmorerows.md) | | |
|
45
46
|
| [httpMode()](./foundation-comms.defaulthttpconnect.httpmode.md) | | |
|
46
47
|
| [request(resourceName, params)](./foundation-comms.defaulthttpconnect.request.md) | | |
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [(constructor)](./foundation-comms.defaultmessagebuilder._constructor_.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.(constructor)
|
6
|
+
|
7
|
+
UUID will be created in the DI with the App specific requirements. Keeping it encapsulated means messages will always conform.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
constructor(session: Session, uuid: UUID);
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
| Parameter | Type | Description |
|
18
|
+
| --- | --- | --- |
|
19
|
+
| session | [Session](./foundation-comms.session.md) | |
|
20
|
+
| uuid | UUID | |
|
21
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createChangePasswordMessage](./foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createChangePasswordMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createChangePasswordMessage(username: string, oldPassword: string, newPassword: string): Message<MessageDetails.ChangePassword>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| username | string | |
|
18
|
+
| oldPassword | string | |
|
19
|
+
| newPassword | string | |
|
20
|
+
|
21
|
+
**Returns:**
|
22
|
+
|
23
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ChangePassword](./foundation-comms.messagedetails.changepassword.md)<!-- -->>
|
24
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createCommitMessage](./foundation-comms.defaultmessagebuilder.createcommitmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createCommitMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createCommitMessage<T = any>(eventName: string, params?: CommitParams): Message<T>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| eventName | string | |
|
18
|
+
| params | [CommitParams](./foundation-comms.commitparams.md) | _(Optional)_ |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
[Message](./foundation-comms.message.md)<!-- --><T>
|
23
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createDataLogoffMessage](./foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createDataLogoffMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| sourceRef | string | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)<!-- --><T>
|
22
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createDataLogonMessage](./foundation-comms.defaultmessagebuilder.createdatalogonmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createDataLogonMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetails.DataserverRequest>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| resourceName | string | |
|
18
|
+
| params | any | _(Optional)_ |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->>
|
23
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createForgotPasswordMessage](./foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createForgotPasswordMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| username | string | |
|
18
|
+
| returnUrl | string | |
|
19
|
+
| requester | string | _(Optional)_ |
|
20
|
+
|
21
|
+
**Returns:**
|
22
|
+
|
23
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ForgotPassword](./foundation-comms.messagedetails.forgotpassword.md)<!-- -->>
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createForgotPasswordTokenMessage](./foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createForgotPasswordTokenMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createForgotPasswordTokenMessage(username: string, resetToken: string, newPassword: string, requester?: string): Message<MessageDetails.ForgotPasswordToken>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| username | string | |
|
18
|
+
| resetToken | string | |
|
19
|
+
| newPassword | string | |
|
20
|
+
| requester | string | _(Optional)_ |
|
21
|
+
|
22
|
+
**Returns:**
|
23
|
+
|
24
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ForgotPasswordToken](./foundation-comms.messagedetails.forgotpasswordtoken.md)<!-- -->>
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createHTTPHeadersFromMessage](./foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createHTTPHeadersFromMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| message | [Message](./foundation-comms.message.md) | |
|
18
|
+
| contentType | string | _(Optional)_ |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
HeadersInit
|
23
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createLoginMessage](./foundation-comms.defaultmessagebuilder.createloginmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createLoginMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| credentials | [AuthInfo](./foundation-comms.authinfo.md) | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.Login](./foundation-comms.messagedetails.login.md)<!-- -->>
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createLogoutMessage](./foundation-comms.defaultmessagebuilder.createlogoutmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createLogoutMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createLogoutMessage(loginResult?: LoginResult): Message;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| loginResult | [LoginResult](./foundation-comms.loginresult.md) | _(Optional)_ |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)
|
22
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createMetaRequestMessage](./foundation-comms.defaultmessagebuilder.createmetarequestmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createMetaRequestMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| resourceName | string | |
|
18
|
+
| messageType | [EventMessageType](./foundation-comms.eventmessagetype.md) | _(Optional)_ |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.MetaRequest](./foundation-comms.messagedetails.metarequest.md)<!-- -->>
|
23
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createMoreColumnsMessage](./foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createMoreColumnsMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createMoreColumnsMessage(sourceRef: string): Message;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| sourceRef | string | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createMoreRowsMessage](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createMoreRowsMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createMoreRowsMessage(sourceRef: string): Message;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| sourceRef | string | |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)
|
22
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createRefreshTokenMessage](./foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createRefreshTokenMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.RefreshToken](./foundation-comms.messagedetails.refreshtoken.md)<!-- -->>
|
15
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createRequestMessage](./foundation-comms.defaultmessagebuilder.createrequestmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createRequestMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| resourceName | string | |
|
18
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
[Message](./foundation-comms.message.md)<!-- --><T>
|
23
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createResourcesMessage](./foundation-comms.defaultmessagebuilder.createresourcesmessage.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder.createResourcesMessage() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
[Message](./foundation-comms.message.md)<!-- --><T>
|
22
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md)
|
4
|
+
|
5
|
+
## DefaultMessageBuilder class
|
6
|
+
|
7
|
+
Default MessageBuilder implementation.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare class DefaultMessageBuilder implements MessageBuilder
|
13
|
+
```
|
14
|
+
**Implements:** [MessageBuilder](./foundation-comms.messagebuilder.md)
|
15
|
+
|
16
|
+
## Constructors
|
17
|
+
|
18
|
+
| Constructor | Modifiers | Description |
|
19
|
+
| --- | --- | --- |
|
20
|
+
| [(constructor)(session, uuid)](./foundation-comms.defaultmessagebuilder._constructor_.md) | | UUID will be created in the DI with the App specific requirements. Keeping it encapsulated means messages will always conform. |
|
21
|
+
|
22
|
+
## Methods
|
23
|
+
|
24
|
+
| Method | Modifiers | Description |
|
25
|
+
| --- | --- | --- |
|
26
|
+
| [createChangePasswordMessage(username, oldPassword, newPassword)](./foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md) | | |
|
27
|
+
| [createCommitMessage(eventName, params)](./foundation-comms.defaultmessagebuilder.createcommitmessage.md) | | |
|
28
|
+
| [createDataLogoffMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md) | | |
|
29
|
+
| [createDataLogonMessage(resourceName, params)](./foundation-comms.defaultmessagebuilder.createdatalogonmessage.md) | | |
|
30
|
+
| [createForgotPasswordMessage(username, returnUrl, requester)](./foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md) | | |
|
31
|
+
| [createForgotPasswordTokenMessage(username, resetToken, newPassword, requester)](./foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md) | | |
|
32
|
+
| [createHTTPHeadersFromMessage(message, contentType)](./foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md) | | |
|
33
|
+
| [createLoginMessage(credentials)](./foundation-comms.defaultmessagebuilder.createloginmessage.md) | | |
|
34
|
+
| [createLogoutMessage(loginResult)](./foundation-comms.defaultmessagebuilder.createlogoutmessage.md) | | |
|
35
|
+
| [createMetaRequestMessage(resourceName, messageType)](./foundation-comms.defaultmessagebuilder.createmetarequestmessage.md) | | |
|
36
|
+
| [createMoreColumnsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md) | | |
|
37
|
+
| [createMoreRowsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md) | | |
|
38
|
+
| [createRefreshTokenMessage()](./foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md) | | |
|
39
|
+
| [createRequestMessage(resourceName, params)](./foundation-comms.defaultmessagebuilder.createrequestmessage.md) | | |
|
40
|
+
| [createResourcesMessage(params)](./foundation-comms.defaultmessagebuilder.createresourcesmessage.md) | | |
|
41
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [addResource](./foundation-comms.defaultnetworkmonitor.addresource.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.addResource() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
addResource(resource: MonitoredResource, metadata: MonitoredResourceMetadata): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| resource | [MonitoredResource](./foundation-comms.monitoredresource.md) | The resource reference. |
|
18
|
+
| metadata | [MonitoredResourceMetadata](./foundation-comms.monitoredresourcemetadata.md) | The resource metadata. |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
void
|
23
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [create](./foundation-comms.defaultnetworkmonitor.create.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.create() method
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
create(): void;
|
12
|
+
```
|
13
|
+
**Returns:**
|
14
|
+
|
15
|
+
void
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [destroy](./foundation-comms.defaultnetworkmonitor.destroy.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.destroy() method
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
destroy(): void;
|
12
|
+
```
|
13
|
+
**Returns:**
|
14
|
+
|
15
|
+
void
|
16
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor class
|
6
|
+
|
7
|
+
Default NetworkMonitor implementation.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare class DefaultNetworkMonitor implements NetworkMonitor
|
13
|
+
```
|
14
|
+
**Implements:** [NetworkMonitor](./foundation-comms.networkmonitor.md)
|
15
|
+
|
16
|
+
## Properties
|
17
|
+
|
18
|
+
| Property | Modifiers | Type | Description |
|
19
|
+
| --- | --- | --- | --- |
|
20
|
+
| [runAllChecks](./foundation-comms.defaultnetworkmonitor.runallchecks.md) | | (source?: unknown, force?: boolean) => Promise<void> | |
|
21
|
+
| [status](./foundation-comms.defaultnetworkmonitor.status.md) | | [SystemHealthStatus](./foundation-comms.systemhealthstatus.md) | |
|
22
|
+
|
23
|
+
## Methods
|
24
|
+
|
25
|
+
| Method | Modifiers | Description |
|
26
|
+
| --- | --- | --- |
|
27
|
+
| [addResource(resource, metadata)](./foundation-comms.defaultnetworkmonitor.addresource.md) | | |
|
28
|
+
| [create()](./foundation-comms.defaultnetworkmonitor.create.md) | | |
|
29
|
+
| [destroy()](./foundation-comms.defaultnetworkmonitor.destroy.md) | | |
|
30
|
+
| [removeResource(resource)](./foundation-comms.defaultnetworkmonitor.removeresource.md) | | |
|
31
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [removeResource](./foundation-comms.defaultnetworkmonitor.removeresource.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.removeResource() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
removeResource(resource: MonitoredResource): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
| Parameter | Type | Description |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| resource | [MonitoredResource](./foundation-comms.monitoredresource.md) | The resource reference. |
|
18
|
+
|
19
|
+
**Returns:**
|
20
|
+
|
21
|
+
void
|
22
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [runAllChecks](./foundation-comms.defaultnetworkmonitor.runallchecks.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.runAllChecks property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
runAllChecks: (source?: unknown, force?: boolean) => Promise<void>;
|
11
|
+
```
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [status](./foundation-comms.defaultnetworkmonitor.status.md)
|
4
|
+
|
5
|
+
## DefaultNetworkMonitor.status property
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
status: SystemHealthStatus;
|
12
|
+
```
|