@aj-shadow/z-abs-complayer-visualizationsequencediagram-client 0.0.0-aj-beta.227 → 0.0.0-aj-beta.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm-shrinkwrap.json +3 -3
- package/package.json +2 -2
- package/project/client/_build/Bundle-CompLayer-VisualizationSequenceDiagram-client.bld +13 -26
- package/project/client/content-decoders/content-decoder.js +4 -5
- package/project/client/content-decoders/image-decoder.js +12 -14
- package/project/client/content-decoders/text-decoder.js +12 -15
- package/project/client/data/data-seq-dia-client-connected-not.js +17 -20
- package/project/client/data/data-seq-dia-client-connected.js +16 -19
- package/project/client/data/data-seq-dia-client-connecting.js +17 -20
- package/project/client/data/data-seq-dia-client-dns-failure.js +2 -7
- package/project/client/data/data-seq-dia-connection-closed.js +16 -19
- package/project/client/data/data-seq-dia-connection-closing.js +17 -20
- package/project/client/data/data-seq-dia-connection-half-closed.js +16 -19
- package/project/client/data/data-seq-dia-connection-half-closing.js +17 -20
- package/project/client/data/data-seq-dia-connection-upgrading.js +2 -7
- package/project/client/data/data-seq-dia-gui-result.js +6 -9
- package/project/client/data/data-seq-dia-gui.js +14 -18
- package/project/client/data/data-seq-dia-phase-end-result.js +5 -8
- package/project/client/data/data-seq-dia-phase-end.js +14 -17
- package/project/client/data/data-seq-dia-phase-start-result.js +5 -8
- package/project/client/data/data-seq-dia-phase-start.js +14 -17
- package/project/client/data/data-seq-dia-protocol-single-node-result.js +5 -8
- package/project/client/data/data-seq-dia-protocol-single-node.js +6 -9
- package/project/client/data/data-seq-dia-protocol-two-nodes-result.js +5 -8
- package/project/client/data/data-seq-dia-protocol-two-nodes.js +9 -12
- package/project/client/data/data-seq-dia-receive.js +20 -24
- package/project/client/data/data-seq-dia-send.js +20 -24
- package/project/client/data/data-seq-dia-server-accepted.js +16 -19
- package/project/client/data/data-seq-dia-server-accepting.js +16 -19
- package/project/client/data/data-seq-dia-server-attached.js +16 -19
- package/project/client/data/data-seq-dia-server-detached.js +16 -19
- package/project/client/data/data-seq-dia-server-not-started.js +16 -19
- package/project/client/data/data-seq-dia-server-started.js +16 -19
- package/project/client/data/data-seq-dia-server-starting.js +16 -19
- package/project/client/data/data-seq-dia-server-stopped.js +16 -19
- package/project/client/data/data-seq-dia-server-stopping.js +16 -19
- package/project/client/data/data-seq-dia-stack-result.js +6 -9
- package/project/client/data/data-seq-dia-stack.js +13 -17
- package/project/client/data/data-seq-dia-state-result.js +5 -8
- package/project/client/data/data-seq-dia-state.js +14 -17
- package/project/client/data/data-seq-dia-test-case-end-result.js +5 -8
- package/project/client/data/data-seq-dia-test-case-end.js +14 -17
- package/project/client/data/data-seq-dia-test-case-header-result.js +5 -8
- package/project/client/data/data-seq-dia-test-case-header.js +12 -15
- package/project/client/data/data-seq-dia-test-case-start-result.js +5 -7
- package/project/client/data/data-seq-dia-test-case-start.js +15 -18
- package/project/client/logic/analyze.js +10 -13
- package/project/client/logic/cache-array.js +2 -5
- package/project/client/logic/cache-map-double.js +2 -5
- package/project/client/logic/cache-map-shared.js +4 -7
- package/project/client/logic/cache-map.js +2 -5
- package/project/client/logic/cache-type-connection-closed.js +4 -7
- package/project/client/logic/cache-type-connection-closing.js +4 -7
- package/project/client/logic/cache-type-connection-connected.js +4 -7
- package/project/client/logic/cache-type-connection-connecting.js +4 -7
- package/project/client/logic/cache-type-connection-half-closed.js +4 -7
- package/project/client/logic/cache-type-connection-half-closing.js +4 -7
- package/project/client/logic/cache-type-connection-not-connected.js +4 -7
- package/project/client/logic/cache-type-phase-end.js +4 -7
- package/project/client/logic/cache-type-phase-start.js +4 -7
- package/project/client/logic/cache-type-receive.js +4 -7
- package/project/client/logic/cache-type-send.js +4 -7
- package/project/client/logic/cache-type-server-accepted.js +4 -7
- package/project/client/logic/cache-type-server-accepting.js +4 -7
- package/project/client/logic/cache-type-server-attached.js +4 -7
- package/project/client/logic/cache-type-server-detached.js +4 -9
- package/project/client/logic/cache-type-server-not-started.js +4 -7
- package/project/client/logic/cache-type-server-started.js +4 -7
- package/project/client/logic/cache-type-server-starting.js +4 -7
- package/project/client/logic/cache-type-server-stopped.js +4 -7
- package/project/client/logic/cache-type-server-stopping.js +4 -7
- package/project/client/logic/cache-type-stack.js +4 -7
- package/project/client/logic/cache-type-state.js +4 -7
- package/project/client/logic/cache-type-test-case-end.js +3 -6
- package/project/client/logic/cache-type-test-case-header.js +3 -6
- package/project/client/logic/cache-type-test-case-start.js +3 -5
- package/project/client/logic/cache.js +31 -34
- package/project/client/logic/connection-data.js +3 -5
- package/project/client/logic/const.js +43 -76
- package/project/client/logic/content-cache.js +7 -12
- package/project/client/logic/data-log-row.js +2 -5
- package/project/client/logic/filter-size.js +43 -47
- package/project/client/logic/seq-dia-filter.js +33 -40
- package/project/client/logic/shared-template-data.js +6 -10
- package/project/client/react-component/sequence-diagram.jsx +82 -82
- package/project/client/templates/components/component-seq-dia-arrow.js +3 -6
- package/project/client/templates/components/component-seq-dia-caption.js +3 -6
- package/project/client/templates/components/component-seq-dia-envelope.js +12 -16
- package/project/client/templates/components/component-seq-dia-event-info.js +3 -6
- package/project/client/templates/components/component-seq-dia-event-row.js +12 -15
- package/project/client/templates/components/component-seq-dia-protocol.js +11 -14
- package/project/client/templates/components/component-seq-dia-shared.js +4 -7
- package/project/client/templates/template-seq-dia-client-connected-not.js +12 -15
- package/project/client/templates/template-seq-dia-client-connected.js +10 -13
- package/project/client/templates/template-seq-dia-client-connecting.js +10 -13
- package/project/client/templates/template-seq-dia-client-dns-failure.js +14 -17
- package/project/client/templates/template-seq-dia-connection-closed.js +11 -14
- package/project/client/templates/template-seq-dia-connection-closing.js +12 -15
- package/project/client/templates/template-seq-dia-connection-half-closed.js +11 -14
- package/project/client/templates/template-seq-dia-connection-half-closing.js +12 -15
- package/project/client/templates/template-seq-dia-connection-upgraded-not.js +15 -18
- package/project/client/templates/template-seq-dia-connection-upgraded.js +12 -15
- package/project/client/templates/template-seq-dia-connection-upgrading.js +12 -15
- package/project/client/templates/template-seq-dia-gui.js +46 -51
- package/project/client/templates/template-seq-dia-msg.js +15 -18
- package/project/client/templates/template-seq-dia-phase-end.js +6 -9
- package/project/client/templates/template-seq-dia-phase-start.js +6 -9
- package/project/client/templates/template-seq-dia-protocol-base.js +4 -7
- package/project/client/templates/template-seq-dia-receive.js +14 -18
- package/project/client/templates/template-seq-dia-send.js +14 -18
- package/project/client/templates/template-seq-dia-server-accepted.js +10 -13
- package/project/client/templates/template-seq-dia-server-accepting.js +9 -12
- package/project/client/templates/template-seq-dia-server-attached.js +12 -15
- package/project/client/templates/template-seq-dia-server-detached.js +11 -14
- package/project/client/templates/template-seq-dia-server-not-started.js +12 -15
- package/project/client/templates/template-seq-dia-server-started.js +9 -12
- package/project/client/templates/template-seq-dia-server-starting.js +9 -12
- package/project/client/templates/template-seq-dia-server-stopped.js +9 -12
- package/project/client/templates/template-seq-dia-server-stopping.js +9 -12
- package/project/client/templates/template-seq-dia-stack.js +24 -27
- package/project/client/templates/template-seq-dia-state.js +24 -27
- package/project/client/templates/template-seq-dia-test-case-end.js +7 -10
- package/project/client/templates/template-seq-dia-test-case-header.js +6 -9
- package/project/client/templates/template-seq-dia-test-case-start.js +4 -7
- package/LICENSE.txt +0 -96
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaProtocolSingleNode from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
-
import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
+
import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
8
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
9
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
10
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
11
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class DataSeqDiaServerStarting {
|
|
14
|
+
export class DataSeqDiaServerStarting {
|
|
15
15
|
static InfoStarting = 'Starting';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerStarting.encoder = new
|
|
21
|
-
DataSeqDiaServerStarting.decoder = new
|
|
20
|
+
DataSeqDiaServerStarting.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerStarting.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerStarting.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerStarting.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerStarting {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerStarting.encoder;
|
|
33
|
-
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
|
|
33
|
+
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
34
34
|
DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData);
|
|
35
35
|
encoder.release();
|
|
36
36
|
return bufferData;
|
|
@@ -38,8 +38,8 @@ class DataSeqDiaServerStarting {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerStarting.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.STARTING, decoder, DataSeqDiaServerStarting.InfoStarting, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.STARTING, decoder, DataSeqDiaServerStarting.InfoStarting, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerStarting {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerStarting.decoder;
|
|
53
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
53
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
54
54
|
const height = decoder.getUint8();
|
|
55
55
|
decoder.detach();
|
|
56
56
|
return height;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
module.exports = DataSeqDiaServerStarting;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaProtocolSingleNode from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
-
import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
+
import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
8
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
9
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
10
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
11
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class DataSeqDiaServerStopped {
|
|
14
|
+
export class DataSeqDiaServerStopped {
|
|
15
15
|
static InfoStopped = 'Stopped';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerStopped.encoder = new
|
|
21
|
-
DataSeqDiaServerStopped.decoder = new
|
|
20
|
+
DataSeqDiaServerStopped.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerStopped.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerStopped.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerStopped.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerStopped {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerStopped.encoder;
|
|
33
|
-
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
|
|
33
|
+
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
34
34
|
DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData);
|
|
35
35
|
encoder.release();
|
|
36
36
|
return bufferData;
|
|
@@ -38,8 +38,8 @@ class DataSeqDiaServerStopped {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerStopped.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.STOPPED, decoder, DataSeqDiaServerStopped.InfoStopped, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.STOPPED, decoder, DataSeqDiaServerStopped.InfoStopped, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerStopped {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerStopped.decoder;
|
|
53
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
53
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
54
54
|
const height = decoder.getUint8();
|
|
55
55
|
decoder.detach();
|
|
56
56
|
return height;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
module.exports = DataSeqDiaServerStopped;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaProtocolSingleNode from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
-
import DataSeqDiaProtocolSingleNodeResult from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
+
import { DataSeqDiaProtocolSingleNodeResult } from '../data/data-seq-dia-protocol-single-node-result';
|
|
7
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
8
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
9
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
10
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
11
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class DataSeqDiaServerStopping {
|
|
14
|
+
export class DataSeqDiaServerStopping {
|
|
15
15
|
static InfoStopping = 'Stopping';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerStopping.encoder = new
|
|
21
|
-
DataSeqDiaServerStopping.decoder = new
|
|
20
|
+
DataSeqDiaServerStopping.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerStopping.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerStopping.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerStopping.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerStopping {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerStopping.encoder;
|
|
33
|
-
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
|
|
33
|
+
const bufferData = encoder.createBuffer(DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
34
34
|
DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData);
|
|
35
35
|
encoder.release();
|
|
36
36
|
return bufferData;
|
|
@@ -38,8 +38,8 @@ class DataSeqDiaServerStopping {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerStopping.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.STOPPING, decoder, DataSeqDiaServerStopping.InfoStopping, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.STOPPING, decoder, DataSeqDiaServerStopping.InfoStopping, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerStopping {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerStopping.decoder;
|
|
53
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
53
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
54
54
|
const height = decoder.getUint8();
|
|
55
55
|
decoder.detach();
|
|
56
56
|
return height;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
module.exports = DataSeqDiaServerStopping;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/memory/memory-cache-object';
|
|
5
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class DataSeqDiaStackResult {
|
|
8
|
+
export class DataSeqDiaStackResult {
|
|
9
9
|
constructor() {
|
|
10
|
-
this.dataType = LogDataAction.STACK;
|
|
10
|
+
this.dataType = FuncLayerEngineCs.LogDataAction.STACK;
|
|
11
11
|
this.phaseId = 0;
|
|
12
12
|
this.protocolIndex = 0;
|
|
13
13
|
this.actorIndex = 0;
|
|
@@ -17,7 +17,7 @@ class DataSeqDiaStackResult {
|
|
|
17
17
|
this.firstSutIndex = 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
20
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
21
21
|
|
|
22
22
|
static create(phaseId, protocolIndex, actorIndex, stackData, type, nbrOfActors, firstSutIndex) {
|
|
23
23
|
const result = DataSeqDiaStackResult.memoryCacheObject.create(DataSeqDiaStackResult);
|
|
@@ -35,6 +35,3 @@ class DataSeqDiaStackResult {
|
|
|
35
35
|
DataSeqDiaStackResult.memoryCacheObject.destroy(this);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
module.exports = DataSeqDiaStackResult;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import DataSeqDiaStackResult from './data-seq-dia-stack-result';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
|
|
4
|
+
import { DataSeqDiaStackResult } from './data-seq-dia-stack-result';
|
|
5
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
6
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
7
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
8
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
class DataSeqDiaStack {
|
|
13
|
-
static size = DataScrollListNode.renderDataSize +
|
|
11
|
+
export class DataSeqDiaStack {
|
|
12
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
14
13
|
static stackType = ['client', 'server'];
|
|
15
14
|
static encoder = null;
|
|
16
15
|
static decoder = null;
|
|
17
16
|
|
|
18
17
|
static init(pooledBuffers) {
|
|
19
|
-
DataSeqDiaStack.encoder = new
|
|
20
|
-
DataSeqDiaStack.decoder = new
|
|
18
|
+
DataSeqDiaStack.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
|
+
DataSeqDiaStack.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
20
|
DataSeqDiaStack.encoder.init(pooledBuffers);
|
|
22
21
|
DataSeqDiaStack.decoder.init(pooledBuffers);
|
|
23
22
|
}
|
|
@@ -29,7 +28,7 @@ class DataSeqDiaStack {
|
|
|
29
28
|
|
|
30
29
|
static store(msg, sharedTemplateData) {
|
|
31
30
|
const encoder = DataSeqDiaStack.encoder;
|
|
32
|
-
const bufferData = encoder.createBuffer(DataSeqDiaStack.size, DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaStack.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
33
32
|
|
|
34
33
|
const dataLogRow = sharedTemplateData.dataLogRow;
|
|
35
34
|
encoder.setUint8(dataLogRow.phaseId);
|
|
@@ -47,7 +46,7 @@ class DataSeqDiaStack {
|
|
|
47
46
|
|
|
48
47
|
static restore(bufferData) {
|
|
49
48
|
const decoder = DataSeqDiaStack.decoder;
|
|
50
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
49
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
51
50
|
const phaseId = decoder.getUint8();
|
|
52
51
|
const protocolIndex = decoder.getUint16();
|
|
53
52
|
const actorIndex = decoder.getUint16();
|
|
@@ -62,12 +61,9 @@ class DataSeqDiaStack {
|
|
|
62
61
|
|
|
63
62
|
static restoreHeightData(bufferData) {
|
|
64
63
|
const decoder = DataSeqDiaStack.decoder;
|
|
65
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
64
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
66
65
|
const height = decoder.getUint8();
|
|
67
66
|
decoder.detach();
|
|
68
67
|
return height;
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
module.exports = DataSeqDiaStack;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/memory/memory-cache-object';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class DataSeqDiaStateResult {
|
|
8
|
+
export class DataSeqDiaStateResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_STATE;
|
|
11
11
|
this.phaseId = 0;
|
|
@@ -16,7 +16,7 @@ class DataSeqDiaStateResult {
|
|
|
16
16
|
this.nbrOfActors = 0;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
19
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
20
20
|
|
|
21
21
|
static create(phaseId, stateResultIndex, stateIndex, stateType, actorIndex, nbrOfActors) {
|
|
22
22
|
const result = DataSeqDiaStateResult.memoryCacheObject.create(DataSeqDiaStateResult);
|
|
@@ -33,6 +33,3 @@ class DataSeqDiaStateResult {
|
|
|
33
33
|
DataSeqDiaStateResult.memoryCacheObject.destroy(this);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
module.exports = DataSeqDiaStateResult;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import DataSeqDiaStateResult from './data-seq-dia-state-result';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import { DataSeqDiaStateResult } from './data-seq-dia-state-result';
|
|
5
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
6
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
7
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
8
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class DataSeqDiaState {
|
|
12
|
-
static size = DataScrollListNode.renderDataSize +
|
|
13
|
-
static inc =
|
|
11
|
+
export class DataSeqDiaState {
|
|
12
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
13
|
+
static inc = CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size;
|
|
14
14
|
static encoder = null;
|
|
15
15
|
static decoder = null;
|
|
16
16
|
|
|
17
17
|
static init(pooledBuffers) {
|
|
18
|
-
DataSeqDiaState.encoder = new
|
|
19
|
-
DataSeqDiaState.decoder = new
|
|
18
|
+
DataSeqDiaState.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
|
+
DataSeqDiaState.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
20
20
|
DataSeqDiaState.encoder.init(pooledBuffers);
|
|
21
21
|
DataSeqDiaState.decoder.init(pooledBuffers);
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ class DataSeqDiaState {
|
|
|
28
28
|
|
|
29
29
|
static store(msg, sharedTemplateData, stateType) {
|
|
30
30
|
const encoder = DataSeqDiaState.encoder;
|
|
31
|
-
const bufferData = encoder.createBuffer(DataSeqDiaState.size, DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaState.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
32
32
|
encoder.setUint8(sharedTemplateData.dataLogRow.phaseId);
|
|
33
33
|
encoder.setUint8(msg.stateResultIndex);
|
|
34
34
|
encoder.setUint8(msg.stateIndex);
|
|
@@ -41,7 +41,7 @@ class DataSeqDiaState {
|
|
|
41
41
|
|
|
42
42
|
static restore(bufferData) {
|
|
43
43
|
const decoder = DataSeqDiaState.decoder;
|
|
44
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
44
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
45
45
|
const phaseId = decoder.getUint8();
|
|
46
46
|
const stateResultIndex = decoder.getUint8();
|
|
47
47
|
const stateIndex = decoder.getUint8();
|
|
@@ -54,7 +54,7 @@ class DataSeqDiaState {
|
|
|
54
54
|
|
|
55
55
|
static restoreHeightData(bufferData) {
|
|
56
56
|
const decoder = DataSeqDiaState.decoder;
|
|
57
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
57
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
58
58
|
const phaseId = decoder.getUint8();
|
|
59
59
|
decoder.inc(DataSeqDiaState.inc);
|
|
60
60
|
const stateType = decoder.getUint8();
|
|
@@ -65,6 +65,3 @@ class DataSeqDiaState {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
module.exports = DataSeqDiaState;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/memory/memory-cache-object';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class DataSeqDiaTestCaseEndResult {
|
|
8
|
+
export class DataSeqDiaTestCaseEndResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_TEST_CASE_END;
|
|
11
11
|
this.resultId = 0;
|
|
12
12
|
this.duration = null;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
15
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
16
16
|
|
|
17
17
|
static create(resultId, duration) {
|
|
18
18
|
const result = DataSeqDiaTestCaseEndResult.memoryCacheObject.create(DataSeqDiaTestCaseEndResult);
|
|
@@ -25,6 +25,3 @@ class DataSeqDiaTestCaseEndResult {
|
|
|
25
25
|
DataSeqDiaTestCaseEndResult.memoryCacheObject.destroy(this);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
module.exports = DataSeqDiaTestCaseEndResult;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import DataSeqDiaTestCaseEndResult from './data-seq-dia-test-case-end-result';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
4
|
+
import { DataSeqDiaTestCaseEndResult } from './data-seq-dia-test-case-end-result';
|
|
5
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
6
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
7
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
8
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
9
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/time/high-resolution-duration';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class DataSeqDiaTestCaseEnd {
|
|
13
|
-
static size = DataScrollListNode.renderDataSize +
|
|
12
|
+
export class DataSeqDiaTestCaseEnd {
|
|
13
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint64Size;
|
|
14
14
|
static encoder = null;
|
|
15
15
|
static decoder = null;
|
|
16
16
|
|
|
17
17
|
static init(pooledBuffers) {
|
|
18
|
-
DataSeqDiaTestCaseEnd.encoder = new
|
|
19
|
-
DataSeqDiaTestCaseEnd.decoder = new
|
|
18
|
+
DataSeqDiaTestCaseEnd.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
|
+
DataSeqDiaTestCaseEnd.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
20
20
|
DataSeqDiaTestCaseEnd.encoder.init(pooledBuffers);
|
|
21
21
|
DataSeqDiaTestCaseEnd.decoder.init(pooledBuffers);
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ class DataSeqDiaTestCaseEnd {
|
|
|
28
28
|
|
|
29
29
|
static store(msg, sharedTemplateData) {
|
|
30
30
|
const encoder = DataSeqDiaTestCaseEnd.encoder;
|
|
31
|
-
const bufferData = encoder.createBuffer(DataSeqDiaTestCaseEnd.size, DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaTestCaseEnd.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
32
32
|
encoder.setUint8(msg.resultId);
|
|
33
33
|
encoder.setBigUint64(msg.duration);
|
|
34
34
|
encoder.release();
|
|
@@ -37,13 +37,10 @@ class DataSeqDiaTestCaseEnd {
|
|
|
37
37
|
|
|
38
38
|
static restore(bufferData) {
|
|
39
39
|
const decoder = DataSeqDiaTestCaseEnd.decoder;
|
|
40
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
40
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
41
41
|
const resultId = decoder.getUint8();
|
|
42
|
-
const duration = new HighResolutionDuration(decoder.getBigUint64()).getDuration();
|
|
42
|
+
const duration = new CoreLayerCs.HighResolutionDuration(decoder.getBigUint64()).getDuration();
|
|
43
43
|
decoder.detach();
|
|
44
44
|
return DataSeqDiaTestCaseEndResult.create(resultId, duration);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
module.exports = DataSeqDiaTestCaseEnd;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/memory/memory-cache-object';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class DataSeqDiaTestCaseHeaderResult {
|
|
8
|
+
export class DataSeqDiaTestCaseHeaderResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_TEST_CASE_HEADER;
|
|
11
11
|
this.nbrOfActors = '';
|
|
12
12
|
this.actorNames = null;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
15
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
16
16
|
|
|
17
17
|
static create(nbrOfActors, actorNames) {
|
|
18
18
|
const result = DataSeqDiaTestCaseHeaderResult.memoryCacheObject.create(DataSeqDiaTestCaseHeaderResult);
|
|
@@ -25,6 +25,3 @@ class DataSeqDiaTestCaseHeaderResult {
|
|
|
25
25
|
DataSeqDiaTestCaseHeaderResult.memoryCacheObject.destroy(this);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
module.exports = DataSeqDiaTestCaseHeaderResult;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import DataSeqDiaTestCaseHeaderResult from './data-seq-dia-test-case-header-result';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import { DataSeqDiaTestCaseHeaderResult } from './data-seq-dia-test-case-header-result';
|
|
5
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
6
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
7
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
8
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class DataSeqDiaTestCaseHeader {
|
|
12
|
-
static size = DataScrollListNode.renderDataSize +
|
|
11
|
+
export class DataSeqDiaTestCaseHeader {
|
|
12
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize;
|
|
13
13
|
static encoder = null;
|
|
14
14
|
static decoder = null;
|
|
15
15
|
|
|
16
16
|
static init(pooledBuffers) {
|
|
17
|
-
DataSeqDiaTestCaseHeader.encoder = new
|
|
18
|
-
DataSeqDiaTestCaseHeader.decoder = new
|
|
17
|
+
DataSeqDiaTestCaseHeader.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
18
|
+
DataSeqDiaTestCaseHeader.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
19
|
DataSeqDiaTestCaseHeader.encoder.init(pooledBuffers);
|
|
20
20
|
DataSeqDiaTestCaseHeader.decoder.init(pooledBuffers);
|
|
21
21
|
}
|
|
@@ -28,7 +28,7 @@ class DataSeqDiaTestCaseHeader {
|
|
|
28
28
|
static store(msg, sharedTemplateData) {
|
|
29
29
|
const actorNames = sharedTemplateData.analyze.actorNames;
|
|
30
30
|
const encoder = DataSeqDiaTestCaseHeader.encoder;
|
|
31
|
-
const bufferData = encoder.createBuffer(DataSeqDiaTestCaseHeader.size +
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaTestCaseHeader.size + CoreLayerClient.PooledEncoder.CtSize * actorNames.length, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
32
32
|
encoder.setUint16(sharedTemplateData.analyze.actorNames.length);
|
|
33
33
|
encoder.setCtStringArrayInternal(actorNames);
|
|
34
34
|
encoder.release();
|
|
@@ -37,13 +37,10 @@ class DataSeqDiaTestCaseHeader {
|
|
|
37
37
|
|
|
38
38
|
static restore(bufferData) {
|
|
39
39
|
const decoder = DataSeqDiaTestCaseHeader.decoder;
|
|
40
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
40
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
41
41
|
const nbrOfActors = decoder.getUint16();
|
|
42
42
|
const actorNames = decoder.getCtStringArray();
|
|
43
43
|
decoder.detach();
|
|
44
44
|
return DataSeqDiaTestCaseHeaderResult.create(nbrOfActors, actorNames);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
module.exports = DataSeqDiaTestCaseHeader;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import * as CoreLayerCs from 'z-abs-corelayer-cs/client/memory/memory-cache-object';
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class DataSeqDiaTestCaseStartResult {
|
|
8
|
+
export class DataSeqDiaTestCaseStartResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_TEST_CASE_START;
|
|
11
11
|
this.name = '';
|
|
12
12
|
this.date = null;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
15
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
16
16
|
|
|
17
17
|
static create(name, date) {
|
|
18
18
|
const result = DataSeqDiaTestCaseStartResult.memoryCacheObject.create(DataSeqDiaTestCaseStartResult);
|
|
@@ -26,5 +26,3 @@ class DataSeqDiaTestCaseStartResult {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
module.exports = DataSeqDiaTestCaseStartResult;
|