@aj-shadow/z-abs-complayer-visualizationsequencediagram-client 0.0.0-aj-beta.227 → 0.0.0-aj-beta.236
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,26 +1,26 @@
|
|
|
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
|
|
11
|
-
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-log-dynamic-buffer';
|
|
7
|
+
import * as CompLayerVisualizationinnerClient1 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 DataSeqDiaReceive {
|
|
15
|
-
static size =
|
|
14
|
+
export class DataSeqDiaReceive {
|
|
15
|
+
static size = CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.CtSize;
|
|
16
16
|
static InfoReceive = 'Receive';
|
|
17
17
|
static encoder = null;
|
|
18
18
|
static decoder = null;
|
|
19
19
|
static pooledBuffers = null;
|
|
20
20
|
|
|
21
21
|
static init(pooledBuffers) {
|
|
22
|
-
DataSeqDiaReceive.encoder = new
|
|
23
|
-
DataSeqDiaReceive.decoder = new
|
|
22
|
+
DataSeqDiaReceive.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
23
|
+
DataSeqDiaReceive.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
24
24
|
DataSeqDiaReceive.pooledBuffers = pooledBuffers;
|
|
25
25
|
DataSeqDiaReceive.encoder.init(pooledBuffers);
|
|
26
26
|
DataSeqDiaReceive.decoder.init(pooledBuffers);
|
|
@@ -33,25 +33,25 @@ class DataSeqDiaReceive {
|
|
|
33
33
|
|
|
34
34
|
static store(msg, sharedTemplateData) {
|
|
35
35
|
const encoder = DataSeqDiaReceive.encoder;
|
|
36
|
-
const bufferData = encoder.createBuffer(DataSeqDiaReceive.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
|
|
36
|
+
const bufferData = encoder.createBuffer(DataSeqDiaReceive.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
37
37
|
DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
|
|
38
38
|
encoder.setCtStringInternal(msg.data.caption);
|
|
39
39
|
encoder.release();
|
|
40
40
|
if(msg.inners) {
|
|
41
|
-
DataLogDynamicBuffer.store(bufferData, msg.inners, null, false, 0, msg.type);
|
|
41
|
+
CompLayerVisualizationinnerClient.DataLogDynamicBuffer.store(bufferData, msg.inners, null, false, 0, msg.type);
|
|
42
42
|
}
|
|
43
43
|
return bufferData;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
static restore(bufferData) {
|
|
47
47
|
const decoder = DataSeqDiaReceive.decoder;
|
|
48
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
49
|
-
const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.RECEIVE, decoder, DataSeqDiaReceive.InfoReceive);
|
|
48
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
49
|
+
const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.RECEIVE, decoder, DataSeqDiaReceive.InfoReceive);
|
|
50
50
|
const caption = decoder.getCtString();
|
|
51
51
|
const dataKey = `${bufferData.buffersIndex}:${bufferData.offset}`;
|
|
52
52
|
let innersData = null;
|
|
53
53
|
if(result.hasInners) {
|
|
54
|
-
innersData = DataLogDynamicBuffer.restore(bufferData);
|
|
54
|
+
innersData = CompLayerVisualizationinnerClient.DataLogDynamicBuffer.restore(bufferData);
|
|
55
55
|
}
|
|
56
56
|
result.extraData = {
|
|
57
57
|
caption,
|
|
@@ -70,13 +70,13 @@ class DataSeqDiaReceive {
|
|
|
70
70
|
|
|
71
71
|
static restoreHeightData(bufferData) {
|
|
72
72
|
const decoder = DataSeqDiaReceive.decoder;
|
|
73
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
73
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
74
74
|
const phaseId = decoder.getUint8();
|
|
75
75
|
const hasInners = !!decoder.getUint1_2(true);
|
|
76
76
|
decoder.detach();
|
|
77
77
|
let innersData = null;
|
|
78
78
|
if(hasInners) {
|
|
79
|
-
innersData = DataLogDynamicBuffer.restore(bufferData);
|
|
79
|
+
innersData = CompLayerVisualizationinnerClient.DataLogDynamicBuffer.restore(bufferData);
|
|
80
80
|
}
|
|
81
81
|
return {
|
|
82
82
|
phaseId,
|
|
@@ -84,7 +84,3 @@ class DataSeqDiaReceive {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
module.exports = DataSeqDiaReceive;
|
|
90
|
-
|
|
@@ -1,26 +1,26 @@
|
|
|
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
|
|
11
|
-
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-log-dynamic-buffer';
|
|
7
|
+
import * as CompLayerVisualizationinnerClient1 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 DataSeqDiaSend {
|
|
15
|
-
static size =
|
|
14
|
+
export class DataSeqDiaSend {
|
|
15
|
+
static size = CoreLayerClient.PooledEncoder.Uint32Size + CoreLayerClient.PooledEncoder.CtSize;
|
|
16
16
|
static InfoSend = 'Send';
|
|
17
17
|
static encoder = null;
|
|
18
18
|
static decoder = null;
|
|
19
19
|
static pooledBuffers = null;
|
|
20
20
|
|
|
21
21
|
static init(pooledBuffers) {
|
|
22
|
-
DataSeqDiaSend.encoder = new
|
|
23
|
-
DataSeqDiaSend.decoder = new
|
|
22
|
+
DataSeqDiaSend.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
23
|
+
DataSeqDiaSend.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
24
24
|
DataSeqDiaSend.pooledBuffers = pooledBuffers;
|
|
25
25
|
DataSeqDiaSend.encoder.init(pooledBuffers);
|
|
26
26
|
DataSeqDiaSend.decoder.init(pooledBuffers);
|
|
@@ -33,25 +33,25 @@ class DataSeqDiaSend {
|
|
|
33
33
|
|
|
34
34
|
static store(msg, sharedTemplateData) {
|
|
35
35
|
const encoder = DataSeqDiaSend.encoder;
|
|
36
|
-
const bufferData = encoder.createBuffer(DataSeqDiaSend.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
|
|
36
|
+
const bufferData = encoder.createBuffer(DataSeqDiaSend.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
37
37
|
DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData, Const.PART_LEFT);
|
|
38
38
|
encoder.setCtStringInternal(msg.data.caption);
|
|
39
39
|
encoder.release();
|
|
40
40
|
if(msg.inners) {
|
|
41
|
-
DataLogDynamicBuffer.store(bufferData, msg.inners, null, false, 0, msg.type);
|
|
41
|
+
CompLayerVisualizationinnerClient.DataLogDynamicBuffer.store(bufferData, msg.inners, null, false, 0, msg.type);
|
|
42
42
|
}
|
|
43
43
|
return bufferData;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
static restore(bufferData) {
|
|
47
47
|
const decoder = DataSeqDiaSend.decoder;
|
|
48
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
49
|
-
const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.SEND, decoder, DataSeqDiaSend.InfoSend);
|
|
48
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
49
|
+
const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.SEND, decoder, DataSeqDiaSend.InfoSend);
|
|
50
50
|
const caption = decoder.getCtString();
|
|
51
51
|
const dataKey = `${bufferData.buffersIndex}:${bufferData.offset}`;
|
|
52
52
|
let innersData = null;
|
|
53
53
|
if(result.hasInners) {
|
|
54
|
-
innersData = DataLogDynamicBuffer.restore(bufferData);
|
|
54
|
+
innersData = CompLayerVisualizationinnerClient.DataLogDynamicBuffer.restore(bufferData);
|
|
55
55
|
}
|
|
56
56
|
result.extraData = {
|
|
57
57
|
caption,
|
|
@@ -70,13 +70,13 @@ class DataSeqDiaSend {
|
|
|
70
70
|
|
|
71
71
|
static restoreHeightData(bufferData) {
|
|
72
72
|
const decoder = DataSeqDiaSend.decoder;
|
|
73
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
73
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
74
74
|
const phaseId = decoder.getUint8();
|
|
75
75
|
const hasInners = !!decoder.getUint1_2(true);
|
|
76
76
|
decoder.detach();
|
|
77
77
|
let innersData = null;
|
|
78
78
|
if(hasInners) {
|
|
79
|
-
innersData = DataLogDynamicBuffer.restore(bufferData);
|
|
79
|
+
innersData = CompLayerVisualizationinnerClient.DataLogDynamicBuffer.restore(bufferData);
|
|
80
80
|
}
|
|
81
81
|
return {
|
|
82
82
|
phaseId,
|
|
@@ -84,7 +84,3 @@ class DataSeqDiaSend {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
module.exports = DataSeqDiaSend;
|
|
90
|
-
|
|
@@ -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 DataSeqDiaServerAccepted {
|
|
14
|
-
static size =
|
|
13
|
+
export class DataSeqDiaServerAccepted {
|
|
14
|
+
static size = CoreLayerClient.PooledEncoder.Uint8Size;
|
|
15
15
|
static InfoAccepted = 'Accepted';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerAccepted.encoder = new
|
|
21
|
-
DataSeqDiaServerAccepted.decoder = new
|
|
20
|
+
DataSeqDiaServerAccepted.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerAccepted.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerAccepted.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerAccepted.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerAccepted {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerAccepted.encoder;
|
|
33
|
-
const bufferData = encoder.createBuffer(DataSeqDiaServerAccepted.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), DataScrollListNode.renderDataSize);
|
|
33
|
+
const bufferData = encoder.createBuffer(DataSeqDiaServerAccepted.size + DataSeqDiaProtocolTwoNodes.getSize(sharedTemplateData, msg), CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
34
34
|
DataSeqDiaProtocolTwoNodes.store(encoder, msg, sharedTemplateData);
|
|
35
35
|
encoder.setUint2_1(msg.data.local.actionId, true);
|
|
36
36
|
encoder.release();
|
|
@@ -39,8 +39,8 @@ class DataSeqDiaServerAccepted {
|
|
|
39
39
|
|
|
40
40
|
static restore(bufferData) {
|
|
41
41
|
const decoder = DataSeqDiaServerAccepted.decoder;
|
|
42
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
43
|
-
const result = DataSeqDiaProtocolTwoNodes.restore(LogDataAction.ACCEPTED, decoder, DataSeqDiaServerAccepted.InfoAccepted);
|
|
42
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
43
|
+
const result = DataSeqDiaProtocolTwoNodes.restore(FuncLayerEngineCs.LogDataAction.ACCEPTED, decoder, DataSeqDiaServerAccepted.InfoAccepted);
|
|
44
44
|
const actionId = decoder.getUint2_1(true);
|
|
45
45
|
if(1 === actionId) {
|
|
46
46
|
result.renderNodes = Const.RENDER_TWO_NODES;
|
|
@@ -59,12 +59,9 @@ class DataSeqDiaServerAccepted {
|
|
|
59
59
|
|
|
60
60
|
static restoreHeightData(bufferData) {
|
|
61
61
|
const decoder = DataSeqDiaServerAccepted.decoder;
|
|
62
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
62
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
63
63
|
const height = decoder.getUint8();
|
|
64
64
|
decoder.detach();
|
|
65
65
|
return height;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
module.exports = DataSeqDiaServerAccepted;
|
|
@@ -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 DataSeqDiaServerAccepting {
|
|
14
|
+
export class DataSeqDiaServerAccepting {
|
|
15
15
|
static InfoAccepting = 'Accepting';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerAccepting.encoder = new
|
|
21
|
-
DataSeqDiaServerAccepting.decoder = new
|
|
20
|
+
DataSeqDiaServerAccepting.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerAccepting.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerAccepting.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerAccepting.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerAccepting {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerAccepting.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 DataSeqDiaServerAccepting {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerAccepting.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.ACCEPTING, decoder, DataSeqDiaServerAccepting.InfoAccepting, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.ACCEPTING, decoder, DataSeqDiaServerAccepting.InfoAccepting, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerAccepting {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerAccepting.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 = DataSeqDiaServerAccepting;
|
|
@@ -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 DataSeqDiaServerAttached {
|
|
14
|
+
export class DataSeqDiaServerAttached {
|
|
15
15
|
static InfoAttached = 'Attached';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerAttached.encoder = new
|
|
21
|
-
DataSeqDiaServerAttached.decoder = new
|
|
20
|
+
DataSeqDiaServerAttached.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerAttached.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerAttached.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerAttached.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerAttached {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData, type) {
|
|
32
32
|
const encoder = DataSeqDiaServerAttached.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, Const.PART_RIGHT);
|
|
35
35
|
encoder.release();
|
|
36
36
|
return bufferData;
|
|
@@ -38,8 +38,8 @@ class DataSeqDiaServerAttached {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerAttached.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.ATTACHED, decoder, DataSeqDiaServerAttached.InfoAttached, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.ATTACHED, decoder, DataSeqDiaServerAttached.InfoAttached, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerAttached {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerAttached.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 = DataSeqDiaServerAttached;
|
|
@@ -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 DataSeqDiaServerDetached {
|
|
14
|
+
export class DataSeqDiaServerDetached {
|
|
15
15
|
static InfoDetached = 'Detached';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerDetached.encoder = new
|
|
21
|
-
DataSeqDiaServerDetached.decoder = new
|
|
20
|
+
DataSeqDiaServerDetached.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerDetached.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerDetached.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerDetached.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerDetached {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData) {
|
|
32
32
|
const encoder = DataSeqDiaServerDetached.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, Const.PART_RIGHT);
|
|
35
35
|
encoder.release();
|
|
36
36
|
return bufferData;
|
|
@@ -38,8 +38,8 @@ class DataSeqDiaServerDetached {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerDetached.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.DETACHED, decoder, DataSeqDiaServerDetached.InfoDetached, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.DETACHED, decoder, DataSeqDiaServerDetached.InfoDetached, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerDetached {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerDetached.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 = DataSeqDiaServerDetached;
|
|
@@ -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 DataSeqDiaServerNotStarted {
|
|
14
|
+
export class DataSeqDiaServerNotStarted {
|
|
15
15
|
static InfoNotStarted = 'Not Started';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerNotStarted.encoder = new
|
|
21
|
-
DataSeqDiaServerNotStarted.decoder = new
|
|
20
|
+
DataSeqDiaServerNotStarted.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerNotStarted.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerNotStarted.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerNotStarted.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerNotStarted {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData, type) {
|
|
32
32
|
const encoder = DataSeqDiaServerNotStarted.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 DataSeqDiaServerNotStarted {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerNotStarted.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.NOT_STARTED, decoder, DataSeqDiaServerNotStarted.InfoNotStarted, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.NOT_STARTED, decoder, DataSeqDiaServerNotStarted.InfoNotStarted, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerNotStarted {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerNotStarted.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 = DataSeqDiaServerNotStarted;
|
|
@@ -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 DataSeqDiaServerStarted {
|
|
14
|
+
export class DataSeqDiaServerStarted {
|
|
15
15
|
static InfoStarted = 'Started';
|
|
16
16
|
static encoder = null;
|
|
17
17
|
static decoder = null;
|
|
18
18
|
|
|
19
19
|
static init(pooledBuffers) {
|
|
20
|
-
DataSeqDiaServerStarted.encoder = new
|
|
21
|
-
DataSeqDiaServerStarted.decoder = new
|
|
20
|
+
DataSeqDiaServerStarted.encoder = new CoreLayerClient.PooledEncoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
21
|
+
DataSeqDiaServerStarted.decoder = new CoreLayerClient.PooledDecoder(CoreLayerClient.StoreBaseRealtime.textCache);
|
|
22
22
|
DataSeqDiaServerStarted.encoder.init(pooledBuffers);
|
|
23
23
|
DataSeqDiaServerStarted.decoder.init(pooledBuffers);
|
|
24
24
|
}
|
|
@@ -30,7 +30,7 @@ class DataSeqDiaServerStarted {
|
|
|
30
30
|
|
|
31
31
|
static store(msg, sharedTemplateData, type) {
|
|
32
32
|
const encoder = DataSeqDiaServerStarted.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 DataSeqDiaServerStarted {
|
|
|
38
38
|
|
|
39
39
|
static restore(bufferData) {
|
|
40
40
|
const decoder = DataSeqDiaServerStarted.decoder;
|
|
41
|
-
decoder.attach(bufferData, DataScrollListNode.renderDataSize);
|
|
42
|
-
const result = DataSeqDiaProtocolSingleNode.restore(LogDataAction.STARTED, decoder, DataSeqDiaServerStarted.InfoStarted, DataSeqDiaProtocolSingleNodeResult);
|
|
41
|
+
decoder.attach(bufferData, CompLayerVisualizationinnerClient.DataScrollListNode.renderDataSize);
|
|
42
|
+
const result = DataSeqDiaProtocolSingleNode.restore(FuncLayerEngineCs.LogDataAction.STARTED, decoder, DataSeqDiaServerStarted.InfoStarted, DataSeqDiaProtocolSingleNodeResult);
|
|
43
43
|
result.reverseDirection = Const.REVERS_DIRECTION_TRUE;
|
|
44
44
|
#BUILD_DEBUG_START
|
|
45
45
|
Object.preventExtensions(result);
|
|
@@ -50,12 +50,9 @@ class DataSeqDiaServerStarted {
|
|
|
50
50
|
|
|
51
51
|
static restoreHeightData(bufferData) {
|
|
52
52
|
const decoder = DataSeqDiaServerStarted.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 = DataSeqDiaServerStarted;
|