@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 DataSeqDiaProtocolTwoNodes from '../data/data-seq-dia-protocol-two-nodes';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaProtocolTwoNodes } from '../data/data-seq-dia-protocol-two-nodes';
|
|
6
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
7
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
8
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
9
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
10
|
+
import * as FuncLayerEngineCs from 'z-abs-funclayer-engine-cs/client/log/log-data-action';
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class DataSeqDiaConnectionHalfClosed {
|
|
14
|
-
static size =
|
|
13
|
+
export class DataSeqDiaConnectionHalfClosed {
|
|
14
|
+
static size = CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
15
15
|
static InfoClosed = 'half Closed';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaConnectionHalfClosed.encoder = new
|
|
21
|
-
DataSeqDiaConnectionHalfClosed.decoder = new
|
|
20
|
+
DataSeqDiaConnectionHalfClosed.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaConnectionHalfClosed.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaConnectionHalfClosed.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaConnectionHalfClosed.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaConnectionHalfClosed {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaConnectionHalfClosed.encoder;
|
|
33
|
-
const bufferData = encoder.createBuffer(DataSeqDiaConnectionHalfClosed.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
|
|
33
|
+
const bufferData = encoder.createBuffer(DataSeqDiaConnectionHalfClosed.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
34
34
|
DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
|
|
35
35
|
encoder.setUint2_1(msg.data.local.actionId, true);
|
|
36
36
|
const remote = msg.data.remote;
|
|
@@ -41,8 +41,8 @@ class DataSeqDiaConnectionHalfClosed {
|
|
|
41
41
|
|
|
42
42
|
static restore(bufferData) {
|
|
43
43
|
const decoder = DataSeqDiaConnectionHalfClosed.decoder;
|
|
44
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
45
|
-
const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.HALF_CLOSED, decoder, DataSeqDiaConnectionHalfClosed.InfoClosed);
|
|
44
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
45
|
+
const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.HALF_CLOSED, decoder, DataSeqDiaConnectionHalfClosed.InfoClosed);
|
|
46
46
|
const actionId = decoder.getUint2_1(true);
|
|
47
47
|
const remoteActorIndex = decoder.getUint16();
|
|
48
48
|
if(2 === actionId) {
|
|
@@ -62,12 +62,9 @@ class DataSeqDiaConnectionHalfClosed {
|
|
|
62
62
|
|
|
63
63
|
static restoreHeightData(bufferData) {
|
|
64
64
|
const decoder = DataSeqDiaConnectionHalfClosed.decoder;
|
|
65
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
65
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
66
66
|
const height = decoder.getUint8();
|
|
67
67
|
decoder.detach();
|
|
68
68
|
return height;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
module.exports = DataSeqDiaConnectionHalfClosed;
|
|
@@ -1,25 +1,25 @@
|
|
|
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 DataSeqDiaConnectionHalfClosing {
|
|
15
|
-
static size =
|
|
14
|
+
export class DataSeqDiaConnectionHalfClosing {
|
|
15
|
+
static size = CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint8Size;
|
|
16
16
|
static InfoClosing = 'half Closing';
|
|
17
17
|
static encoder = null;
|
|
18
18
|
static decoder = null;
|
|
19
19
|
|
|
20
20
|
static init(pooledBuffers) {
|
|
21
|
-
DataSeqDiaConnectionHalfClosing.encoder = new
|
|
22
|
-
DataSeqDiaConnectionHalfClosing.decoder = new
|
|
21
|
+
DataSeqDiaConnectionHalfClosing.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
|
+
DataSeqDiaConnectionHalfClosing.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
23
23
|
DataSeqDiaConnectionHalfClosing.encoder.init(pooledBuffers);
|
|
24
24
|
DataSeqDiaConnectionHalfClosing.decoder.init(pooledBuffers);
|
|
25
25
|
}
|
|
@@ -31,7 +31,7 @@ class DataSeqDiaConnectionHalfClosing {
|
|
|
31
31
|
|
|
32
32
|
static store(msg, sharedTemplateData) {
|
|
33
33
|
const encoder = DataSeqDiaConnectionHalfClosing.encoder;
|
|
34
|
-
const bufferData = encoder.createBuffer(DataSeqDiaConnectionHalfClosing.size + DataSeqDiaProtocolSingleNode.getSize(msg), DataScrollListNode.renderDataSize);
|
|
34
|
+
const bufferData = encoder.createBuffer(DataSeqDiaConnectionHalfClosing.size + DataSeqDiaProtocolSingleNode.getSize(msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
35
35
|
DataSeqDiaProtocolSingleNode.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
|
|
36
36
|
const remote = msg.data.remote;
|
|
37
37
|
encoder.setUint16(remote.actorIndex);
|
|
@@ -42,8 +42,8 @@ class DataSeqDiaConnectionHalfClosing {
|
|
|
42
42
|
|
|
43
43
|
static restore(bufferData) {
|
|
44
44
|
const decoder = DataSeqDiaConnectionHalfClosing.decoder;
|
|
45
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
46
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.HALF_CLOSING, decoder, DataSeqDiaConnectionHalfClosing.InfoClosing, DataSeqDiaProtocolSingleNodeResult);
|
|
45
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
46
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.HALF_CLOSING, decoder, DataSeqDiaConnectionHalfClosing.InfoClosing, DataSeqDiaProtocolSingleNodeResult);
|
|
47
47
|
const remoteActorIndex = decoder.getUint16();
|
|
48
48
|
const remoteIsShared = !!decoder.getUint1_0(true);
|
|
49
49
|
result.reverseDirection = remoteActorIndex < result.localActorIndex ? Const.REVERS_DIRECTION_TRUE : Const.REVERS_DIRECTION_FALSE;
|
|
@@ -60,12 +60,9 @@ class DataSeqDiaConnectionHalfClosing {
|
|
|
60
60
|
|
|
61
61
|
static restoreHeightData(bufferData) {
|
|
62
62
|
const decoder = DataSeqDiaConnectionHalfClosing.decoder;
|
|
63
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
63
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
64
64
|
const height = decoder.getUint8();
|
|
65
65
|
decoder.detach();
|
|
66
66
|
return height;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
module.exports = DataSeqDiaConnectionHalfClosing;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import LogDataAction from 'z-abs-funclayer-engine-cs/clientServer/log/log-data-action';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
class DataSeqDiaConnectionUpgrading {
|
|
5
|
+
export class DataSeqDiaConnectionUpgrading {
|
|
8
6
|
static appDeserializer = null;
|
|
9
7
|
|
|
10
8
|
static init(appDeserializer) {
|
|
@@ -27,6 +25,3 @@ class DataSeqDiaConnectionUpgrading {
|
|
|
27
25
|
return decoder.getUint8();
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
module.exports = DataSeqDiaConnectionUpgrading;
|
|
@@ -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 DataSeqDiaGuiResult {
|
|
8
|
+
export class DataSeqDiaGuiResult {
|
|
9
9
|
constructor() {
|
|
10
|
-
this.dataType = LogDataAction.GUI;
|
|
10
|
+
this.dataType = FuncLayerEngineCs.LogDataAction.GUI;
|
|
11
11
|
this.phaseId = 0;
|
|
12
12
|
this.protocolIndex = 0;
|
|
13
13
|
this.actorIndex = 0;
|
|
@@ -20,7 +20,7 @@ class DataSeqDiaGuiResult {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
static stackType = ['client', 'server'];
|
|
23
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
23
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
24
24
|
|
|
25
25
|
static create(phaseId, protocolIndex, actorIndex, nbrOfActors, stackType, stackId, type, dataName, dataArgs) {
|
|
26
26
|
const result = DataSeqDiaGuiResult.memoryCacheObject.create(DataSeqDiaGuiResult);
|
|
@@ -43,6 +43,3 @@ class DataSeqDiaGuiResult {
|
|
|
43
43
|
DataSeqDiaGuiResult.memoryCacheObject.destroy(this);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
module.exports = DataSeqDiaGuiResult;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import DataSeqDiaGuiResult from './data-seq-dia-gui-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 { DataSeqDiaGuiResult } from './data-seq-dia-gui-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 DataSeqDiaGui {
|
|
13
|
-
static size = DataScrollListNode.renderDataSize +
|
|
11
|
+
export class DataSeqDiaGui {
|
|
12
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize;
|
|
14
13
|
static encoder = null;
|
|
15
14
|
static decoder = null;
|
|
16
15
|
|
|
17
16
|
static init(pooledBuffers) {
|
|
18
|
-
DataSeqDiaGui.encoder = new
|
|
19
|
-
DataSeqDiaGui.decoder = new
|
|
17
|
+
DataSeqDiaGui.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
18
|
+
DataSeqDiaGui.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
20
19
|
DataSeqDiaGui.encoder.init(pooledBuffers);
|
|
21
20
|
DataSeqDiaGui.decoder.init(pooledBuffers);
|
|
22
21
|
}
|
|
@@ -29,7 +28,7 @@ class DataSeqDiaGui {
|
|
|
29
28
|
static store(msg, sharedTemplateData) {
|
|
30
29
|
const encoder = DataSeqDiaGui.encoder;
|
|
31
30
|
const data = msg.data;
|
|
32
|
-
const bufferData = encoder.createBuffer(DataSeqDiaGui.size + encoder.getStringBytes(data.data.args), DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaGui.size + encoder.getStringBytes(data.data.args), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
33
32
|
const dataLogRow = sharedTemplateData.dataLogRow;
|
|
34
33
|
encoder.setUint8(dataLogRow.phaseId);
|
|
35
34
|
encoder.setUint16(dataLogRow.protocolIndex);
|
|
@@ -46,7 +45,7 @@ class DataSeqDiaGui {
|
|
|
46
45
|
|
|
47
46
|
static restore(bufferData) {
|
|
48
47
|
const decoder = DataSeqDiaGui.decoder;
|
|
49
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
48
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
50
49
|
const phaseId = decoder.getUint8();
|
|
51
50
|
const protocolIndex = decoder.getUint16();
|
|
52
51
|
const type = decoder.getUint8();
|
|
@@ -62,9 +61,9 @@ class DataSeqDiaGui {
|
|
|
62
61
|
|
|
63
62
|
static restoreHeightData(bufferData) {
|
|
64
63
|
const decoder = DataSeqDiaGui.decoder;
|
|
65
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
64
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
66
65
|
const phaseId = decoder.getUint8();
|
|
67
|
-
decoder.inc(
|
|
66
|
+
decoder.inc(CoreLayerClient.PooledEncoder.Uint16Size);
|
|
68
67
|
const type = decoder.getUint8();
|
|
69
68
|
decoder.detach();
|
|
70
69
|
return {
|
|
@@ -73,6 +72,3 @@ class DataSeqDiaGui {
|
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
module.exports = DataSeqDiaGui;
|
|
@@ -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 DataSeqDiaPhaseEndResult {
|
|
8
|
+
export class DataSeqDiaPhaseEndResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_PHASE_END;
|
|
11
11
|
this.phaseId = 0;
|
|
12
12
|
this.nbrOfActors = 0;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
15
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
16
16
|
|
|
17
17
|
static create(phaseId, nbrOfActors) {
|
|
18
18
|
const result = DataSeqDiaPhaseEndResult.memoryCacheObject.create(DataSeqDiaPhaseEndResult);
|
|
@@ -26,6 +26,3 @@ class DataSeqDiaPhaseEndResult {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
module.exports = DataSeqDiaPhaseEndResult;
|
|
31
|
-
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaPhaseEndResult from './data-seq-dia-phase-end-result';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaPhaseEndResult } from './data-seq-dia-phase-end-result';
|
|
6
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
7
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
8
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
9
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class DataSeqDiaPhaseEnd {
|
|
13
|
-
static size = DataScrollListNode.renderDataSize +
|
|
12
|
+
export class DataSeqDiaPhaseEnd {
|
|
13
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
14
14
|
static encoder = null;
|
|
15
15
|
static decoder = null;
|
|
16
16
|
|
|
17
17
|
static init(pooledBuffers) {
|
|
18
|
-
DataSeqDiaPhaseEnd.encoder = new
|
|
19
|
-
DataSeqDiaPhaseEnd.decoder = new
|
|
18
|
+
DataSeqDiaPhaseEnd.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
|
+
DataSeqDiaPhaseEnd.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
20
20
|
DataSeqDiaPhaseEnd.encoder.init(pooledBuffers);
|
|
21
21
|
DataSeqDiaPhaseEnd.decoder.init(pooledBuffers);
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ class DataSeqDiaPhaseEnd {
|
|
|
28
28
|
|
|
29
29
|
static store(msg, sharedTemplateData) {
|
|
30
30
|
const encoder = DataSeqDiaPhaseEnd.encoder;
|
|
31
|
-
const bufferData = encoder.createBuffer(DataSeqDiaPhaseEnd.size, DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaPhaseEnd.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
32
32
|
encoder.setUint8(sharedTemplateData.dataLogRow.phaseId);
|
|
33
33
|
encoder.setUint16(sharedTemplateData.analyze.actorNames.length);
|
|
34
34
|
encoder.release();
|
|
@@ -37,7 +37,7 @@ class DataSeqDiaPhaseEnd {
|
|
|
37
37
|
|
|
38
38
|
static restore(bufferData) {
|
|
39
39
|
const decoder = DataSeqDiaPhaseEnd.decoder;
|
|
40
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
40
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
41
41
|
const phaseId = decoder.getUint8();
|
|
42
42
|
const nbrOfActors = decoder.getUint16();
|
|
43
43
|
decoder.detach();
|
|
@@ -46,12 +46,9 @@ class DataSeqDiaPhaseEnd {
|
|
|
46
46
|
|
|
47
47
|
static restoreHeightData(bufferData) {
|
|
48
48
|
const decoder = DataSeqDiaPhaseEnd.decoder;
|
|
49
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
49
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
50
50
|
const height = decoder.getUint8();
|
|
51
51
|
decoder.detach();
|
|
52
52
|
return height;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
module.exports = DataSeqDiaPhaseEnd;
|
|
@@ -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 DataSeqDiaPhaseStartResult {
|
|
8
|
+
export class DataSeqDiaPhaseStartResult {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.dataType = Const.DATA_PHASE_START;
|
|
11
11
|
this.phaseId = 0;
|
|
12
12
|
this.nbrOfActors = 0;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
15
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
16
16
|
|
|
17
17
|
static create(phaseId, nbrOfActors) {
|
|
18
18
|
const result = DataSeqDiaPhaseStartResult.memoryCacheObject.create(DataSeqDiaPhaseStartResult);
|
|
@@ -25,6 +25,3 @@ class DataSeqDiaPhaseStartResult {
|
|
|
25
25
|
DataSeqDiaPhaseStartResult.memoryCacheObject.destroy(this);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
module.exports = DataSeqDiaPhaseStartResult;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import DataSeqDiaPhaseStartResult from './data-seq-dia-phase-start-result';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaPhaseStartResult } from './data-seq-dia-phase-start-result';
|
|
6
|
+
import * as CompLayerVisualizationinnerClient from 'z-abs-complayer-visualizationinner-client/client/data/data-scroll-list-node';
|
|
7
|
+
import * as CoreLayerClient from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-decoder';
|
|
8
|
+
import * as CoreLayerClient1 from 'z-abs-corelayer-client/client/communication/core-protocol/pooled-encoder';
|
|
9
|
+
import * as CoreLayerClient2 from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class DataSeqDiaPhaseStart {
|
|
13
|
-
static size = DataScrollListNode.renderDataSize +
|
|
12
|
+
export class DataSeqDiaPhaseStart {
|
|
13
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
14
14
|
static encoder = null;
|
|
15
15
|
static decoder = null;
|
|
16
16
|
|
|
17
17
|
static init(pooledBuffers) {
|
|
18
|
-
DataSeqDiaPhaseStart.encoder = new
|
|
19
|
-
DataSeqDiaPhaseStart.decoder = new
|
|
18
|
+
DataSeqDiaPhaseStart.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
19
|
+
DataSeqDiaPhaseStart.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
20
20
|
DataSeqDiaPhaseStart.encoder.init(pooledBuffers);
|
|
21
21
|
DataSeqDiaPhaseStart.decoder.init(pooledBuffers);
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ class DataSeqDiaPhaseStart {
|
|
|
28
28
|
|
|
29
29
|
static store(msg, sharedTemplateData) {
|
|
30
30
|
const encoder = DataSeqDiaPhaseStart.encoder;
|
|
31
|
-
const bufferData = encoder.createBuffer(DataSeqDiaPhaseStart.size, DataScrollListNode.renderDataSize);
|
|
31
|
+
const bufferData = encoder.createBuffer(DataSeqDiaPhaseStart.size, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
32
32
|
encoder.setUint8(sharedTemplateData.dataLogRow.phaseId);
|
|
33
33
|
encoder.setUint16(sharedTemplateData.analyze.actorNames.length);
|
|
34
34
|
encoder.release();
|
|
@@ -37,7 +37,7 @@ class DataSeqDiaPhaseStart {
|
|
|
37
37
|
|
|
38
38
|
static restore(bufferData) {
|
|
39
39
|
const decoder = DataSeqDiaPhaseStart.decoder;
|
|
40
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
40
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
41
41
|
const phaseId = decoder.getUint8();
|
|
42
42
|
const nbrOfActors = decoder.getUint16();
|
|
43
43
|
decoder.detach();
|
|
@@ -46,12 +46,9 @@ class DataSeqDiaPhaseStart {
|
|
|
46
46
|
|
|
47
47
|
static restoreHeightData(bufferData) {
|
|
48
48
|
const decoder = DataSeqDiaPhaseStart.decoder;
|
|
49
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
49
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
50
50
|
const height = decoder.getUint8();
|
|
51
51
|
decoder.detach();
|
|
52
52
|
return height;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
module.exports = DataSeqDiaPhaseStart;
|
|
@@ -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 DataSeqDiaProtocolSingleNodeResult {
|
|
8
|
+
export class DataSeqDiaProtocolSingleNodeResult {
|
|
9
9
|
constructor(dataType, info, phaseId, protocolIndex, transportType, localActorIndex, localName, localType, localIp, localOwnerId, localId, localIsShared, nbrOfActors, hasInners) {
|
|
10
10
|
this.dataType = dataType;
|
|
11
11
|
this.renderNodes = Const.RENDER_SINGLE_NODE;
|
|
@@ -46,7 +46,7 @@ class DataSeqDiaProtocolSingleNodeResult {
|
|
|
46
46
|
this.extraData = null;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
49
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
50
50
|
|
|
51
51
|
static create(factory) {
|
|
52
52
|
return DataSeqDiaProtocolSingleNodeResult.memoryCacheObject.create(DataSeqDiaProtocolSingleNodeResult);
|
|
@@ -56,6 +56,3 @@ class DataSeqDiaProtocolSingleNodeResult {
|
|
|
56
56
|
DataSeqDiaProtocolSingleNodeResult.memoryCacheObject.destroy(this);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
module.exports = DataSeqDiaProtocolSingleNodeResult;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
import Const from '../logic/const';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
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-encoder';
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class DataSeqDiaProtocolSingleNode {
|
|
10
|
-
static size = DataScrollListNode.renderDataSize +
|
|
9
|
+
export class DataSeqDiaProtocolSingleNode {
|
|
10
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint8Size + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint16Size;
|
|
11
11
|
|
|
12
12
|
static getSize(msg) {
|
|
13
13
|
return DataSeqDiaProtocolSingleNode.size;
|
|
@@ -76,6 +76,3 @@ class DataSeqDiaProtocolSingleNode {
|
|
|
76
76
|
return result;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
module.exports = DataSeqDiaProtocolSingleNode;
|
|
@@ -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 DataSeqDiaProtocolTwoNodesResult {
|
|
8
|
+
export class DataSeqDiaProtocolTwoNodesResult {
|
|
9
9
|
constructor(dataType, info, phaseId, protocolIndex, transportType, localActorIndex, localName, localType, localIp, localOwnerId, localId, localIsShared, nbrOfActors, hasInners) {
|
|
10
10
|
this.dataType = dataType;
|
|
11
11
|
this.renderNodes = Const.RENDER_SINGLE_NODE;
|
|
@@ -66,7 +66,7 @@ class DataSeqDiaProtocolTwoNodesResult {
|
|
|
66
66
|
this.protocolLine = Const.PROTOCOL_LINE_NONE;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
static memoryCacheObject = new MemoryCacheObject();
|
|
69
|
+
static memoryCacheObject = new CoreLayerCs.MemoryCacheObject();
|
|
70
70
|
|
|
71
71
|
setRemote(remoteActorIndex, remoteName, remoteType, remoteIp, remoteOwnerId, remoteId, remoteIsShared) {
|
|
72
72
|
this.remoteActorIndex = remoteActorIndex;
|
|
@@ -86,6 +86,3 @@ class DataSeqDiaProtocolTwoNodesResult {
|
|
|
86
86
|
DataSeqDiaProtocolTwoNodesResult.memoryCacheObject.destroy(this);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
module.exports = DataSeqDiaProtocolTwoNodesResult;
|
|
@@ -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
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import { Const } from '../logic/const';
|
|
5
|
+
import { DataSeqDiaProtocolSingleNode } from '../data/data-seq-dia-protocol-single-node';
|
|
6
|
+
import { DataSeqDiaProtocolTwoNodesResult } from '../data/data-seq-dia-protocol-two-nodes-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-encoder';
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class DataSeqDiaProtocolTwoNodes {
|
|
12
|
-
static size = DataScrollListNode.renderDataSize +
|
|
11
|
+
export class DataSeqDiaProtocolTwoNodes {
|
|
12
|
+
static size = CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.CtSize + CoreLayerClient.PooledEncoder.Uint16Size + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.Uint8Size;
|
|
13
13
|
|
|
14
14
|
static getSize(sharedTemplateData, msg) {
|
|
15
|
-
const size =
|
|
15
|
+
const size = CoreLayerClient.PooledEncoder.Uint32Size + DataSeqDiaProtocolSingleNode.getSize(msg);
|
|
16
16
|
return DataSeqDiaProtocolTwoNodes.size + size;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -59,6 +59,3 @@ class DataSeqDiaProtocolTwoNodes {
|
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
module.exports = DataSeqDiaProtocolTwoNodes;
|