aes70 2.0.8 → 2.0.10
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/dist/AES70.es5.js +9 -5
- package/package.json +1 -1
- package/src/OCP1/OcaInterval.js +2 -2
- package/src/controller/abstract_udp_connection.js +7 -3
- package/src/OCP1/OcaClassAuthorityID.js +0 -18
- package/src/OCP1/OcaEnumItem.js +0 -14
- package/src/OCP1/OcaEnumItem16.js +0 -14
- package/src/OCP1/OcaLibParamSetAssignment.js +0 -16
- package/src/OCP1/OcaLibVol.js +0 -16
- package/src/OCP1/OcaLibVolChangedEventData.js +0 -16
- package/src/OCP1/OcaLibVolMetadata.js +0 -23
- package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +0 -14
- package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +0 -15
- package/src/OCP1/OcaPilotToneDetectorSpec.js +0 -18
- package/src/OCP1/OcaProtoPortID.js +0 -16
- package/src/OCP1/OcaTaskStateChangedEventData.js +0 -18
package/dist/AES70.es5.js
CHANGED
|
@@ -15662,14 +15662,14 @@
|
|
|
15662
15662
|
*/
|
|
15663
15663
|
|
|
15664
15664
|
function OcaInterval(DT) {
|
|
15665
|
-
return Struct(
|
|
15665
|
+
return class extends Struct(
|
|
15666
15666
|
{
|
|
15667
15667
|
Min: DT,
|
|
15668
15668
|
Max: DT,
|
|
15669
15669
|
Bounds: OcaIntervalBounds$1,
|
|
15670
15670
|
},
|
|
15671
15671
|
OcaInterval$1
|
|
15672
|
-
);
|
|
15672
|
+
) {};
|
|
15673
15673
|
}
|
|
15674
15674
|
|
|
15675
15675
|
/*
|
|
@@ -28832,9 +28832,13 @@
|
|
|
28832
28832
|
options.type
|
|
28833
28833
|
);
|
|
28834
28834
|
|
|
28835
|
-
|
|
28836
|
-
|
|
28837
|
-
|
|
28835
|
+
try {
|
|
28836
|
+
await waitForKeepalive(socket, options);
|
|
28837
|
+
return new this(socket, options);
|
|
28838
|
+
} catch (err) {
|
|
28839
|
+
socket.close();
|
|
28840
|
+
throw err;
|
|
28841
|
+
}
|
|
28838
28842
|
}
|
|
28839
28843
|
|
|
28840
28844
|
write(buf) {
|
package/package.json
CHANGED
package/src/OCP1/OcaInterval.js
CHANGED
|
@@ -6,12 +6,12 @@ import { Struct } from './Struct.js';
|
|
|
6
6
|
import { OcaInterval as type } from '../types/OcaInterval.js';
|
|
7
7
|
|
|
8
8
|
export function OcaInterval(DT) {
|
|
9
|
-
return Struct(
|
|
9
|
+
return class extends Struct(
|
|
10
10
|
{
|
|
11
11
|
Min: DT,
|
|
12
12
|
Max: DT,
|
|
13
13
|
Bounds: OcaIntervalBounds,
|
|
14
14
|
},
|
|
15
15
|
type
|
|
16
|
-
);
|
|
16
|
+
) {};
|
|
17
17
|
}
|
|
@@ -103,9 +103,13 @@ export class AbstractUDPConnection extends ClientConnection {
|
|
|
103
103
|
options.type
|
|
104
104
|
);
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
try {
|
|
107
|
+
await waitForKeepalive(socket, options);
|
|
108
|
+
return new this(socket, options);
|
|
109
|
+
} catch (err) {
|
|
110
|
+
socket.close();
|
|
111
|
+
throw err;
|
|
112
|
+
}
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
write(buf) {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaBlobFixedLen } from './OcaBlobFixedLen.js';
|
|
5
|
-
import { OcaUint16 } from './OcaUint16.js';
|
|
6
|
-
import { OcaUint8 } from './OcaUint8.js';
|
|
7
|
-
import { Struct } from './Struct.js';
|
|
8
|
-
|
|
9
|
-
import { OcaClassAuthorityID as type } from '../types/OcaClassAuthorityID.js';
|
|
10
|
-
|
|
11
|
-
export const OcaClassAuthorityID = Struct(
|
|
12
|
-
{
|
|
13
|
-
Sentinel: OcaUint16,
|
|
14
|
-
Reserved: OcaUint8,
|
|
15
|
-
OrganizationID: OcaBlobFixedLen(3),
|
|
16
|
-
},
|
|
17
|
-
type
|
|
18
|
-
);
|
package/src/OCP1/OcaEnumItem.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { Struct } from './Struct.js';
|
|
5
|
-
import { OcaUint8 } from './OcaUint8.js';
|
|
6
|
-
|
|
7
|
-
import { OcaEnumItem as type } from '../types/OcaEnumItem.js';
|
|
8
|
-
|
|
9
|
-
export const OcaEnumItem = Struct(
|
|
10
|
-
{
|
|
11
|
-
Value: OcaUint8,
|
|
12
|
-
},
|
|
13
|
-
type
|
|
14
|
-
);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { Struct } from './Struct.js';
|
|
5
|
-
import { OcaUint16 } from './OcaUint16.js';
|
|
6
|
-
|
|
7
|
-
import { OcaEnumItem16 as type } from '../types/OcaEnumItem16.js';
|
|
8
|
-
|
|
9
|
-
export const OcaEnumItem16 = Struct(
|
|
10
|
-
{
|
|
11
|
-
Value: OcaUint16,
|
|
12
|
-
},
|
|
13
|
-
type
|
|
14
|
-
);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaLibVolIdentifier } from './OcaLibVolIdentifier.js';
|
|
5
|
-
import { OcaUint32 } from './OcaUint32.js';
|
|
6
|
-
import { Struct } from './Struct.js';
|
|
7
|
-
|
|
8
|
-
import { OcaLibParamSetAssignment as type } from '../types/OcaLibParamSetAssignment.js';
|
|
9
|
-
|
|
10
|
-
export const OcaLibParamSetAssignment = Struct(
|
|
11
|
-
{
|
|
12
|
-
ParamSetIdentifier: OcaLibVolIdentifier,
|
|
13
|
-
TargetBlockONo: OcaUint32,
|
|
14
|
-
},
|
|
15
|
-
type
|
|
16
|
-
);
|
package/src/OCP1/OcaLibVol.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaBlob } from './OcaBlob.js';
|
|
5
|
-
import { OcaLibVolMetadata } from './OcaLibVolMetadata.js';
|
|
6
|
-
import { Struct } from './Struct.js';
|
|
7
|
-
|
|
8
|
-
import { OcaLibVol as type } from '../types/OcaLibVol.js';
|
|
9
|
-
|
|
10
|
-
export const OcaLibVol = Struct(
|
|
11
|
-
{
|
|
12
|
-
Metadata: OcaLibVolMetadata,
|
|
13
|
-
Data: OcaBlob,
|
|
14
|
-
},
|
|
15
|
-
type
|
|
16
|
-
);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaPropertyChangeType } from './OcaPropertyChangeType.js';
|
|
5
|
-
import { OcaUint32 } from './OcaUint32.js';
|
|
6
|
-
import { Struct } from './Struct.js';
|
|
7
|
-
|
|
8
|
-
import { OcaLibVolChangedEventData as type } from '../types/OcaLibVolChangedEventData.js';
|
|
9
|
-
|
|
10
|
-
export const OcaLibVolChangedEventData = Struct(
|
|
11
|
-
{
|
|
12
|
-
VolumeID: OcaUint32,
|
|
13
|
-
ChangeType: OcaPropertyChangeType,
|
|
14
|
-
},
|
|
15
|
-
type
|
|
16
|
-
);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaLibAccess } from './OcaLibAccess.js';
|
|
5
|
-
import { OcaLibVolType } from './OcaLibVolType.js';
|
|
6
|
-
import { OcaString } from './OcaString.js';
|
|
7
|
-
import { OcaTimePTP } from './OcaTimePTP.js';
|
|
8
|
-
import { OcaUint32 } from './OcaUint32.js';
|
|
9
|
-
import { Struct } from './Struct.js';
|
|
10
|
-
|
|
11
|
-
import { OcaLibVolMetadata as type } from '../types/OcaLibVolMetadata.js';
|
|
12
|
-
|
|
13
|
-
export const OcaLibVolMetadata = Struct(
|
|
14
|
-
{
|
|
15
|
-
Name: OcaString,
|
|
16
|
-
VolType: OcaLibVolType,
|
|
17
|
-
Access: OcaLibAccess,
|
|
18
|
-
Version: OcaUint32,
|
|
19
|
-
Creator: OcaString,
|
|
20
|
-
UpDate: OcaTimePTP,
|
|
21
|
-
},
|
|
22
|
-
type
|
|
23
|
-
);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaMediaConnectorStatus } from './OcaMediaConnectorStatus.js';
|
|
5
|
-
import { Struct } from './Struct.js';
|
|
6
|
-
|
|
7
|
-
import { OcaMediaConnectorStatusChangedEventData as type } from '../types/OcaMediaConnectorStatusChangedEventData.js';
|
|
8
|
-
|
|
9
|
-
export const OcaMediaConnectorStatusChangedEventData = Struct(
|
|
10
|
-
{
|
|
11
|
-
ConnectorStatus: OcaMediaConnectorStatus,
|
|
12
|
-
},
|
|
13
|
-
type
|
|
14
|
-
);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaBlob } from './OcaBlob.js';
|
|
5
|
-
import { Struct } from './Struct.js';
|
|
6
|
-
|
|
7
|
-
import { OcaNetworkSystemInterfaceDescriptor as type } from '../types/OcaNetworkSystemInterfaceDescriptor.js';
|
|
8
|
-
|
|
9
|
-
export const OcaNetworkSystemInterfaceDescriptor = Struct(
|
|
10
|
-
{
|
|
11
|
-
SystemInterfaceParameters: OcaBlob,
|
|
12
|
-
MyNetworkAddress: OcaBlob,
|
|
13
|
-
},
|
|
14
|
-
type
|
|
15
|
-
);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaDBr } from './OcaDBr.js';
|
|
5
|
-
import { OcaFloat32 } from './OcaFloat32.js';
|
|
6
|
-
import { OcaUint32 } from './OcaUint32.js';
|
|
7
|
-
import { Struct } from './Struct.js';
|
|
8
|
-
|
|
9
|
-
import { OcaPilotToneDetectorSpec as type } from '../types/OcaPilotToneDetectorSpec.js';
|
|
10
|
-
|
|
11
|
-
export const OcaPilotToneDetectorSpec = Struct(
|
|
12
|
-
{
|
|
13
|
-
Threshold: OcaDBr,
|
|
14
|
-
Frequency: OcaFloat32,
|
|
15
|
-
PollInterval: OcaUint32,
|
|
16
|
-
},
|
|
17
|
-
type
|
|
18
|
-
);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaPortMode } from './OcaPortMode.js';
|
|
5
|
-
import { OcaUint16 } from './OcaUint16.js';
|
|
6
|
-
import { Struct } from './Struct.js';
|
|
7
|
-
|
|
8
|
-
import { OcaProtoPortID as type } from '../types/OcaProtoPortID.js';
|
|
9
|
-
|
|
10
|
-
export const OcaProtoPortID = Struct(
|
|
11
|
-
{
|
|
12
|
-
Mode: OcaPortMode,
|
|
13
|
-
Index: OcaUint16,
|
|
14
|
-
},
|
|
15
|
-
type
|
|
16
|
-
);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file has been generated.
|
|
3
|
-
*/
|
|
4
|
-
import { OcaLibVolIdentifier } from './OcaLibVolIdentifier.js';
|
|
5
|
-
import { OcaTaskStatus } from './OcaTaskStatus.js';
|
|
6
|
-
import { OcaUint32 } from './OcaUint32.js';
|
|
7
|
-
import { Struct } from './Struct.js';
|
|
8
|
-
|
|
9
|
-
import { OcaTaskStateChangedEventData as type } from '../types/OcaTaskStateChangedEventData.js';
|
|
10
|
-
|
|
11
|
-
export const OcaTaskStateChangedEventData = Struct(
|
|
12
|
-
{
|
|
13
|
-
TaskID: OcaUint32,
|
|
14
|
-
ProgramID: OcaLibVolIdentifier,
|
|
15
|
-
Status: OcaTaskStatus,
|
|
16
|
-
},
|
|
17
|
-
type
|
|
18
|
-
);
|