aes70 1.6.1 → 2.0.0

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.
Files changed (652) hide show
  1. package/COPYING +7 -7
  2. package/Changelog +9 -0
  3. package/README.md +74 -42
  4. package/dist/AES70.es5.js +24520 -1
  5. package/package.json +3 -3
  6. package/src/OCP1/Arguments.js +3 -0
  7. package/src/OCP1/Enum.js +8 -0
  8. package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
  9. package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
  10. package/src/OCP1/OcaArray1D.js +108 -0
  11. package/src/OCP1/OcaBitstring.js +3 -0
  12. package/src/OCP1/OcaBlob.js +2 -43
  13. package/src/OCP1/OcaBlobFixedLen.js +8 -0
  14. package/src/OCP1/OcaBlockConfigurability.js +3 -0
  15. package/src/OCP1/OcaBoolean.js +3 -0
  16. package/src/OCP1/OcaCommand.js +17 -0
  17. package/src/OCP1/OcaCommandResult.js +17 -0
  18. package/src/OCP1/OcaCommandSetResult.js +17 -0
  19. package/src/OCP1/OcaConstructionParameter.js +16 -0
  20. package/src/OCP1/OcaCounter.js +22 -0
  21. package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
  22. package/src/OCP1/OcaCounterSet.js +17 -0
  23. package/src/OCP1/OcaCounterUpdate.js +18 -0
  24. package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
  25. package/src/OCP1/OcaDatasetSearchResult.js +17 -0
  26. package/src/OCP1/OcaDeviceGenericState.js +4 -0
  27. package/src/OCP1/OcaDeviceOperationalState.js +16 -0
  28. package/src/OCP1/OcaExecutableType.js +4 -0
  29. package/src/OCP1/OcaFloat32.js +3 -0
  30. package/src/OCP1/OcaFloat64.js +3 -0
  31. package/src/OCP1/OcaGenericEndState.js +4 -0
  32. package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
  33. package/src/OCP1/OcaGroupException.js +18 -0
  34. package/src/OCP1/OcaIODirection.js +4 -0
  35. package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
  36. package/src/OCP1/OcaIP4Gateway.js +17 -0
  37. package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
  38. package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
  39. package/src/OCP1/OcaIP6Gateway.js +17 -0
  40. package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
  41. package/src/OCP1/OcaInt16.js +3 -0
  42. package/src/OCP1/OcaInt32.js +3 -0
  43. package/src/OCP1/OcaInt64.js +3 -0
  44. package/src/OCP1/OcaInt8.js +3 -0
  45. package/src/OCP1/OcaInterval.js +18 -0
  46. package/src/OCP1/OcaIntervalBounds.js +3 -0
  47. package/src/OCP1/OcaJobDisposedEventData.js +18 -0
  48. package/src/OCP1/OcaJobDisposition.js +4 -0
  49. package/src/OCP1/OcaJobQueueItem.js +24 -0
  50. package/src/OCP1/OcaList.js +2 -127
  51. package/src/OCP1/OcaList2D.js +6 -0
  52. package/src/OCP1/OcaList32.js +3 -0
  53. package/src/OCP1/OcaLockState.js +4 -0
  54. package/src/OCP1/OcaLogFilter.js +20 -0
  55. package/src/OCP1/OcaLogRecord.js +21 -0
  56. package/src/OCP1/OcaLongBlob.js +3 -0
  57. package/src/OCP1/OcaManufacturer.js +19 -0
  58. package/src/OCP1/OcaMap.js +3 -0
  59. package/src/OCP1/OcaMatrixCommand.js +19 -0
  60. package/src/OCP1/OcaMatrixCoordinates.js +15 -0
  61. package/src/OCP1/OcaMediaAccessMode.js +4 -0
  62. package/src/OCP1/OcaMediaFrameFormat.js +4 -0
  63. package/src/OCP1/OcaMediaPlayOption.js +4 -0
  64. package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
  65. package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
  66. package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
  67. package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
  68. package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
  69. package/src/OCP1/OcaMediaStreamMode.js +21 -0
  70. package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
  71. package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
  72. package/src/OCP1/OcaMediaTrackFunction.js +3 -0
  73. package/src/OCP1/OcaMediaTransportSession.js +30 -0
  74. package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
  75. package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
  76. package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
  77. package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
  78. package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
  79. package/src/OCP1/OcaMediaVolumePosition.js +16 -0
  80. package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
  81. package/src/OCP1/OcaMultiMap.js +3 -0
  82. package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
  83. package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
  84. package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
  85. package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
  86. package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
  87. package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
  88. package/src/OCP1/OcaObjectSearchResult.js +2 -18
  89. package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
  90. package/src/OCP1/OcaPort.js +1 -1
  91. package/src/OCP1/OcaPortClockMapEntry.js +16 -0
  92. package/src/OCP1/OcaPortID.js +2 -2
  93. package/src/OCP1/OcaPortIdentification.js +16 -0
  94. package/src/OCP1/OcaPortMode.js +5 -4
  95. package/src/OCP1/OcaPositionDescriptor.js +2 -2
  96. package/src/OCP1/OcaProduct.js +19 -0
  97. package/src/OCP1/OcaProgramResult.js +17 -0
  98. package/src/OCP1/OcaProgramRunMode.js +3 -0
  99. package/src/OCP1/OcaProtoPort.js +2 -2
  100. package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
  101. package/src/OCP1/OcaProtoSignalPath.js +2 -2
  102. package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
  103. package/src/OCP1/OcaSecurityType.js +4 -0
  104. package/src/OCP1/OcaSignalPath.js +2 -2
  105. package/src/OCP1/OcaString.js +3 -0
  106. package/src/OCP1/OcaTask.js +4 -3
  107. package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
  108. package/src/OCP1/OcaTaskGenericState.js +4 -0
  109. package/src/OCP1/OcaTaskOperationalState.js +17 -0
  110. package/src/OCP1/OcaTaskSchedulerState.js +4 -0
  111. package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
  112. package/src/OCP1/OcaTime.js +18 -0
  113. package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
  114. package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
  115. package/src/OCP1/OcaTimePTP.js +2 -15
  116. package/src/OCP1/OcaTypedBlob.js +16 -0
  117. package/src/OCP1/OcaUint16.js +3 -0
  118. package/src/OCP1/OcaUint32.js +3 -0
  119. package/src/OCP1/OcaUint64.js +3 -0
  120. package/src/OCP1/OcaUint8.js +3 -0
  121. package/src/OCP1/OcaVariant.js +92 -0
  122. package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
  123. package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
  124. package/src/OCP1/RestWithOffset.js +3 -0
  125. package/src/OCP1/String16.js +3 -0
  126. package/src/OCP1/Struct.js +12 -0
  127. package/src/OCP1/Tuple.js +3 -0
  128. package/src/OCP1/createBlobType.js +58 -0
  129. package/src/OCP1/createListType.js +137 -0
  130. package/src/OCP1/createType.js +8 -4
  131. package/src/OCP1/decode_message.js +10 -2
  132. package/src/OCP1/encode_message.js +5 -1
  133. package/src/OCP1/getLengthEncoder.js +23 -0
  134. package/src/OCP1/notification2.js +70 -0
  135. package/src/OCP1/protocol_version.js +4 -0
  136. package/src/connection.js +14 -6
  137. package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
  138. package/src/controller/ControlClasses/OcaActuator.js +4 -4
  139. package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
  140. package/src/controller/ControlClasses/OcaAgent.js +8 -18
  141. package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
  142. package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
  143. package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
  144. package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
  145. package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
  146. package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
  147. package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
  148. package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
  149. package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
  150. package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
  151. package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
  152. package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
  153. package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
  154. package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
  155. package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
  156. package/src/controller/ControlClasses/OcaBlock.js +477 -103
  157. package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
  158. package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
  159. package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
  160. package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
  161. package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
  162. package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
  163. package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
  164. package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
  165. package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
  166. package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
  167. package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
  168. package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
  169. package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
  170. package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
  171. package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
  172. package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
  173. package/src/controller/ControlClasses/OcaDataset.js +234 -0
  174. package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
  175. package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
  176. package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
  177. package/src/controller/ControlClasses/OcaDelay.js +3 -5
  178. package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
  179. package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
  180. package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
  181. package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
  182. package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
  183. package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
  184. package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
  185. package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
  186. package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
  187. package/src/controller/ControlClasses/OcaDynamics.js +48 -71
  188. package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
  189. package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
  190. package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
  191. package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
  192. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
  193. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
  194. package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
  195. package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
  196. package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
  197. package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
  198. package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
  199. package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
  200. package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
  201. package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
  202. package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
  203. package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
  204. package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
  205. package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
  206. package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
  207. package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
  208. package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
  209. package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
  210. package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
  211. package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
  212. package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
  213. package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
  214. package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
  215. package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
  216. package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
  217. package/src/controller/ControlClasses/OcaGain.js +3 -5
  218. package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
  219. package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
  220. package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
  221. package/src/controller/ControlClasses/OcaGroup.js +156 -0
  222. package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
  223. package/src/controller/ControlClasses/OcaGrouper.js +34 -171
  224. package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
  225. package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
  226. package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
  227. package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
  228. package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
  229. package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
  230. package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
  231. package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
  232. package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
  233. package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
  234. package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
  235. package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
  236. package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
  237. package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
  238. package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
  239. package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
  240. package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
  241. package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
  242. package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
  243. package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
  244. package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
  245. package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
  246. package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
  247. package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
  248. package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
  249. package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
  250. package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
  251. package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
  252. package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
  253. package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
  254. package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
  255. package/src/controller/ControlClasses/OcaLockManager.js +53 -0
  256. package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
  257. package/src/controller/ControlClasses/OcaLog.js +142 -0
  258. package/src/controller/ControlClasses/OcaManager.js +1 -1
  259. package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
  260. package/src/controller/ControlClasses/OcaMatrix.js +121 -93
  261. package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
  262. package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
  263. package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
  264. package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
  265. package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
  266. package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
  267. package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
  268. package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
  269. package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
  270. package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
  271. package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
  272. package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
  273. package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
  274. package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
  275. package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
  276. package/src/controller/ControlClasses/OcaMute.js +3 -5
  277. package/src/controller/ControlClasses/OcaNetwork.js +1 -1
  278. package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
  279. package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
  280. package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
  281. package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
  282. package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
  283. package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
  284. package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
  285. package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
  286. package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
  287. package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
  288. package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
  289. package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
  290. package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
  291. package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
  292. package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
  293. package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
  294. package/src/controller/ControlClasses/OcaPolarity.js +3 -5
  295. package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
  296. package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
  297. package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
  298. package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
  299. package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
  300. package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
  301. package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
  302. package/src/controller/ControlClasses/OcaProgram.js +82 -0
  303. package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
  304. package/src/controller/ControlClasses/OcaRamper.js +65 -12
  305. package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
  306. package/src/controller/ControlClasses/OcaRoot.js +67 -26
  307. package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
  308. package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
  309. package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
  310. package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
  311. package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
  312. package/src/controller/ControlClasses/OcaSensor.js +2 -3
  313. package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
  314. package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
  315. package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
  316. package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
  317. package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
  318. package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
  319. package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
  320. package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
  321. package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
  322. package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
  323. package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
  324. package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
  325. package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
  326. package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
  327. package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
  328. package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
  329. package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
  330. package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
  331. package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
  332. package/src/controller/ControlClasses/OcaSwitch.js +113 -35
  333. package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
  334. package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
  335. package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
  336. package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
  337. package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
  338. package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
  339. package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
  340. package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
  341. package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
  342. package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
  343. package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
  344. package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
  345. package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
  346. package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
  347. package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
  348. package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
  349. package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
  350. package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
  351. package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
  352. package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
  353. package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
  354. package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
  355. package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
  356. package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
  357. package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
  358. package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
  359. package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
  360. package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
  361. package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
  362. package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
  363. package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
  364. package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
  365. package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
  366. package/src/controller/ControlClasses/OcaWorker.js +93 -43
  367. package/src/controller/base_event.js +71 -23
  368. package/src/controller/client_connection.d.ts +26 -0
  369. package/src/controller/client_connection.js +39 -7
  370. package/src/controller/event.js +17 -20
  371. package/src/controller/make_control_class.js +3 -1
  372. package/src/controller/notification_error.d.ts +40 -0
  373. package/src/controller/notification_error.js +62 -0
  374. package/src/controller/observeProperty.js +8 -8
  375. package/src/controller/property_event.js +18 -10
  376. package/src/controller/remote_device.js +137 -49
  377. package/src/controller/tcp_connection.d.ts +8 -6
  378. package/src/index.default.d.ts +1 -0
  379. package/src/index.default.js +1 -0
  380. package/src/types/Enum.js +8 -0
  381. package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
  382. package/src/types/OcaActionObjectSearchResult.js +34 -0
  383. package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
  384. package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
  385. package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
  386. package/src/types/OcaApplicationNetworkCommand.js +0 -24
  387. package/src/types/OcaApplicationNetworkState.d.ts +1 -37
  388. package/src/types/OcaApplicationNetworkState.js +0 -48
  389. package/src/types/OcaBlockConfigurability.d.ts +26 -0
  390. package/src/types/OcaBlockConfigurability.js +35 -0
  391. package/src/types/OcaClassicalFilterShape.d.ts +1 -1
  392. package/src/types/OcaClassicalFilterShape.js +1 -1
  393. package/src/types/OcaCommand.d.ts +44 -0
  394. package/src/types/OcaCommand.js +25 -0
  395. package/src/types/OcaCommandResult.d.ts +42 -0
  396. package/src/types/OcaCommandResult.js +24 -0
  397. package/src/types/OcaCommandSetResult.d.ts +41 -0
  398. package/src/types/OcaCommandSetResult.js +23 -0
  399. package/src/types/OcaConstructionParameter.d.ts +40 -0
  400. package/src/types/OcaConstructionParameter.js +23 -0
  401. package/src/types/OcaCounter.d.ts +81 -0
  402. package/src/types/OcaCounter.js +38 -0
  403. package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
  404. package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
  405. package/src/types/OcaCounterSet.d.ts +38 -0
  406. package/src/types/OcaCounterSet.js +22 -0
  407. package/src/types/OcaCounterUpdate.d.ts +54 -0
  408. package/src/types/OcaCounterUpdate.js +28 -0
  409. package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
  410. package/src/types/OcaCounterUpdateEventData.js +17 -0
  411. package/src/types/OcaDatasetSearchResult.d.ts +51 -0
  412. package/src/types/OcaDatasetSearchResult.js +28 -0
  413. package/src/types/OcaDelayUnit.d.ts +2 -1
  414. package/src/types/OcaDelayUnit.js +2 -1
  415. package/src/types/OcaDelayValue.d.ts +2 -1
  416. package/src/types/OcaDelayValue.js +2 -1
  417. package/src/types/OcaDeviceGenericState.d.ts +62 -0
  418. package/src/types/OcaDeviceGenericState.js +52 -0
  419. package/src/types/OcaDeviceOperationalState.d.ts +42 -0
  420. package/src/types/OcaDeviceOperationalState.js +22 -0
  421. package/src/types/OcaDeviceState.d.ts +2 -2
  422. package/src/types/OcaDeviceState.js +2 -2
  423. package/src/types/OcaExecutableType.d.ts +50 -0
  424. package/src/types/OcaExecutableType.js +36 -0
  425. package/src/types/OcaGenericEndState.d.ts +56 -0
  426. package/src/types/OcaGenericEndState.js +44 -0
  427. package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
  428. package/src/types/OcaGlobalTypeIdentifier.js +8 -7
  429. package/src/types/OcaGroupException.d.ts +53 -0
  430. package/src/types/OcaGroupException.js +28 -0
  431. package/src/types/OcaGrouperCitizen.d.ts +10 -10
  432. package/src/types/OcaGrouperCitizen.js +6 -6
  433. package/src/types/OcaGrouperEnrollment.d.ts +4 -9
  434. package/src/types/OcaGrouperEnrollment.js +3 -5
  435. package/src/types/OcaGrouperGroup.d.ts +9 -9
  436. package/src/types/OcaGrouperGroup.js +5 -5
  437. package/src/types/OcaGrouperMode.d.ts +4 -3
  438. package/src/types/OcaGrouperMode.js +4 -3
  439. package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
  440. package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
  441. package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
  442. package/src/types/OcaGrouperStatusChangeType.js +1 -1
  443. package/src/types/OcaIODirection.d.ts +39 -0
  444. package/src/types/OcaIODirection.js +28 -0
  445. package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
  446. package/src/types/OcaIP4AutoconfigMode.js +44 -0
  447. package/src/types/OcaIP4Gateway.d.ts +53 -0
  448. package/src/types/OcaIP4Gateway.js +27 -0
  449. package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
  450. package/src/types/OcaIP4NetworkSettings.js +56 -0
  451. package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
  452. package/src/types/OcaIP6AutoconfigMode.js +44 -0
  453. package/src/types/OcaIP6Gateway.d.ts +53 -0
  454. package/src/types/OcaIP6Gateway.js +27 -0
  455. package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
  456. package/src/types/OcaIP6NetworkSettings.js +61 -0
  457. package/src/types/OcaInterval.d.ts +8 -0
  458. package/src/types/OcaInterval.js +84 -0
  459. package/src/types/OcaIntervalBounds.d.ts +41 -0
  460. package/src/types/OcaIntervalBounds.js +53 -0
  461. package/src/types/OcaJobDisposedEventData.d.ts +57 -0
  462. package/src/types/OcaJobDisposedEventData.js +28 -0
  463. package/src/types/OcaJobDisposition.d.ts +68 -0
  464. package/src/types/OcaJobDisposition.js +60 -0
  465. package/src/types/OcaJobQueueItem.d.ts +105 -0
  466. package/src/types/OcaJobQueueItem.js +44 -0
  467. package/src/types/OcaLibVolType.d.ts +2 -4
  468. package/src/types/OcaLibVolType.js +1 -2
  469. package/src/types/OcaLockState.d.ts +50 -0
  470. package/src/types/OcaLockState.js +36 -0
  471. package/src/types/OcaLogFilter.d.ts +70 -0
  472. package/src/types/OcaLogFilter.js +33 -0
  473. package/src/types/OcaLogRecord.d.ts +85 -0
  474. package/src/types/OcaLogRecord.js +40 -0
  475. package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
  476. package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
  477. package/src/types/OcaManagerDescriptor.d.ts +11 -9
  478. package/src/types/OcaManagerDescriptor.js +6 -5
  479. package/src/types/OcaManufacturer.d.ts +87 -0
  480. package/src/types/OcaManufacturer.js +47 -0
  481. package/src/types/OcaMatrixCommand.d.ts +61 -0
  482. package/src/types/OcaMatrixCommand.js +29 -0
  483. package/src/types/OcaMatrixCoordinates.d.ts +38 -0
  484. package/src/types/OcaMatrixCoordinates.js +23 -0
  485. package/src/types/OcaMediaAccessMode.d.ts +50 -0
  486. package/src/types/OcaMediaAccessMode.js +36 -0
  487. package/src/types/OcaMediaClockAvailability.d.ts +1 -1
  488. package/src/types/OcaMediaClockAvailability.js +1 -1
  489. package/src/types/OcaMediaClockRate.d.ts +7 -7
  490. package/src/types/OcaMediaClockRate.js +4 -4
  491. package/src/types/OcaMediaConnection.d.ts +2 -2
  492. package/src/types/OcaMediaConnection.js +1 -1
  493. package/src/types/OcaMediaFrameFormat.d.ts +74 -0
  494. package/src/types/OcaMediaFrameFormat.js +68 -0
  495. package/src/types/OcaMediaPlayOption.d.ts +50 -0
  496. package/src/types/OcaMediaPlayOption.js +36 -0
  497. package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
  498. package/src/types/OcaMediaRecorderPlayerState.js +52 -0
  499. package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
  500. package/src/types/OcaMediaStreamCastMode.js +3 -3
  501. package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
  502. package/src/types/OcaMediaStreamEndpoint.js +114 -0
  503. package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
  504. package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
  505. package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
  506. package/src/types/OcaMediaStreamEndpointState.js +60 -0
  507. package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
  508. package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
  509. package/src/types/OcaMediaStreamMode.d.ts +83 -0
  510. package/src/types/OcaMediaStreamMode.js +43 -0
  511. package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
  512. package/src/types/OcaMediaStreamModeCapability.js +81 -0
  513. package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
  514. package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
  515. package/src/types/OcaMediaTrackFunction.d.ts +27 -0
  516. package/src/types/OcaMediaTrackFunction.js +36 -0
  517. package/src/types/OcaMediaTransportSession.d.ts +119 -0
  518. package/src/types/OcaMediaTransportSession.js +58 -0
  519. package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
  520. package/src/types/OcaMediaTransportSessionConnection.js +32 -0
  521. package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
  522. package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
  523. package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
  524. package/src/types/OcaMediaTransportSessionState.js +52 -0
  525. package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
  526. package/src/types/OcaMediaTransportSessionStatus.js +23 -0
  527. package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
  528. package/src/types/OcaMediaTransportTimingParameters.js +31 -0
  529. package/src/types/OcaMediaVolumePosition.d.ts +46 -0
  530. package/src/types/OcaMediaVolumePosition.js +23 -0
  531. package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
  532. package/src/types/OcaMediaVolumePositionType.js +28 -0
  533. package/src/types/OcaModelGUID.d.ts +0 -1
  534. package/src/types/OcaModelGUID.js +0 -1
  535. package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
  536. package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
  537. package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
  538. package/src/types/OcaNetworkAdvertisingService.js +44 -0
  539. package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
  540. package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
  541. package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
  542. package/src/types/OcaNetworkInterfaceCommand.js +36 -0
  543. package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
  544. package/src/types/OcaNetworkInterfaceState.js +36 -0
  545. package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
  546. package/src/types/OcaNetworkInterfaceStatus.js +22 -0
  547. package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
  548. package/src/types/OcaNotificationDeliveryMode.js +17 -1
  549. package/src/types/OcaOPath.d.ts +16 -2
  550. package/src/types/OcaOPath.js +8 -1
  551. package/src/types/OcaObjectListEventData.d.ts +2 -2
  552. package/src/types/OcaObjectListEventData.js +2 -2
  553. package/src/types/OcaObjectSearchResult.d.ts +4 -83
  554. package/src/types/OcaObjectSearchResult.js +2 -37
  555. package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
  556. package/src/types/OcaObjectSearchResultFlags.js +2 -48
  557. package/src/types/OcaObservationEventData.d.ts +2 -2
  558. package/src/types/OcaObservationEventData.js +2 -2
  559. package/src/types/OcaObservationListEventData.d.ts +2 -2
  560. package/src/types/OcaObservationListEventData.js +2 -2
  561. package/src/types/OcaObserverState.d.ts +1 -1
  562. package/src/types/OcaObserverState.js +1 -1
  563. package/src/types/OcaParameterMask.d.ts +81 -1
  564. package/src/types/OcaParameterMask.js +131 -1
  565. package/src/types/OcaPort.d.ts +7 -5
  566. package/src/types/OcaPort.js +4 -3
  567. package/src/types/OcaPortClockMapEntry.d.ts +42 -0
  568. package/src/types/OcaPortClockMapEntry.js +23 -0
  569. package/src/types/OcaPortID.d.ts +12 -10
  570. package/src/types/OcaPortID.js +7 -6
  571. package/src/types/OcaPortIdentification.d.ts +39 -0
  572. package/src/types/OcaPortIdentification.js +23 -0
  573. package/src/types/OcaPortMode.d.ts +4 -36
  574. package/src/types/OcaPortMode.js +2 -25
  575. package/src/types/OcaPositionDescriptor.d.ts +6 -6
  576. package/src/types/OcaPositionDescriptor.js +2 -2
  577. package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
  578. package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
  579. package/src/types/OcaPowerSupplyState.d.ts +1 -1
  580. package/src/types/OcaPowerSupplyState.js +1 -1
  581. package/src/types/OcaProduct.d.ts +92 -0
  582. package/src/types/OcaProduct.js +42 -0
  583. package/src/types/OcaProgramResult.d.ts +39 -0
  584. package/src/types/OcaProgramResult.js +22 -0
  585. package/src/types/OcaProgramRunMode.d.ts +24 -0
  586. package/src/types/OcaProgramRunMode.js +30 -0
  587. package/src/types/OcaProperty.d.ts +2 -2
  588. package/src/types/OcaProperty.js +2 -2
  589. package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
  590. package/src/types/OcaProtoObjectIdentification.js +1 -1
  591. package/src/types/OcaProtoPort.d.ts +16 -18
  592. package/src/types/OcaProtoPort.js +6 -8
  593. package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
  594. package/src/types/OcaProtoPortClockMapEntry.js +25 -0
  595. package/src/types/OcaProtoSignalPath.d.ts +12 -10
  596. package/src/types/OcaProtoSignalPath.js +7 -6
  597. package/src/types/OcaRamperState.d.ts +19 -18
  598. package/src/types/OcaRamperState.js +19 -18
  599. package/src/types/OcaResetCause.d.ts +7 -1
  600. package/src/types/OcaResetCause.js +8 -0
  601. package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
  602. package/src/types/OcaSamplingRateConverterType.js +36 -0
  603. package/src/types/OcaSecurityType.d.ts +39 -0
  604. package/src/types/OcaSecurityType.js +28 -0
  605. package/src/types/OcaSignalPath.d.ts +10 -10
  606. package/src/types/OcaSignalPath.js +6 -6
  607. package/src/types/OcaStatus.d.ts +19 -1
  608. package/src/types/OcaStatus.js +24 -0
  609. package/src/types/OcaStream.d.ts +2 -2
  610. package/src/types/OcaStream.js +1 -1
  611. package/src/types/OcaTask.d.ts +23 -24
  612. package/src/types/OcaTask.js +7 -7
  613. package/src/types/OcaTaskCommand.d.ts +2 -7
  614. package/src/types/OcaTaskCommand.js +2 -9
  615. package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
  616. package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
  617. package/src/types/OcaTaskGenericState.d.ts +64 -0
  618. package/src/types/OcaTaskGenericState.js +54 -0
  619. package/src/types/OcaTaskManagerState.d.ts +1 -0
  620. package/src/types/OcaTaskManagerState.js +1 -0
  621. package/src/types/OcaTaskOperationalState.d.ts +43 -0
  622. package/src/types/OcaTaskOperationalState.js +22 -0
  623. package/src/types/OcaTaskSchedulerState.d.ts +63 -0
  624. package/src/types/OcaTaskSchedulerState.js +53 -0
  625. package/src/types/OcaTaskStatus.d.ts +2 -12
  626. package/src/types/OcaTaskStatus.js +2 -12
  627. package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
  628. package/src/types/OcaTaskStatusChangedEventData.js +29 -0
  629. package/src/types/OcaTime.d.ts +56 -0
  630. package/src/types/OcaTime.js +32 -0
  631. package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
  632. package/src/types/OcaTimeDeliveryMechanism.js +191 -0
  633. package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
  634. package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
  635. package/src/types/OcaTimePTP.d.ts +4 -51
  636. package/src/types/OcaTimePTP.js +2 -28
  637. package/src/types/OcaTimeReferenceType.d.ts +7 -13
  638. package/src/types/OcaTimeReferenceType.js +6 -14
  639. package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
  640. package/src/types/OcaTimeSourceAvailability.js +1 -1
  641. package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
  642. package/src/types/OcaTimeSourceSyncStatus.js +1 -1
  643. package/src/types/OcaTransferFunction.d.ts +1 -1
  644. package/src/types/OcaTransferFunction.js +1 -1
  645. package/src/types/OcaTypedBlob.d.ts +40 -0
  646. package/src/types/OcaTypedBlob.js +24 -0
  647. package/src/types/OcaVariant.d.ts +19 -0
  648. package/src/types/OcaVariant.js +18 -0
  649. package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
  650. package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
  651. package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
  652. package/src/types/OcaWhenPhysicalRelative.js +22 -0
@@ -0,0 +1,704 @@
1
+ import { OcaBlob } from '../../OCP1/OcaBlob.js';
2
+ import { OcaCounter } from '../../OCP1/OcaCounter.js';
3
+ import { OcaCounterSet } from '../../OCP1/OcaCounterSet.js';
4
+ import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
5
+ import { OcaIODirection } from '../../OCP1/OcaIODirection.js';
6
+ import { OcaInterval } from '../../OCP1/OcaInterval.js';
7
+ import { OcaList } from '../../OCP1/OcaList.js';
8
+ import { OcaMap } from '../../OCP1/OcaMap.js';
9
+ import { OcaMediaStreamEndpoint } from '../../OCP1/OcaMediaStreamEndpoint.js';
10
+ import { OcaMediaStreamEndpointCommand } from '../../OCP1/OcaMediaStreamEndpointCommand.js';
11
+ import { OcaMediaStreamEndpointState } from '../../OCP1/OcaMediaStreamEndpointState.js';
12
+ import { OcaMediaStreamEndpointStatus } from '../../OCP1/OcaMediaStreamEndpointStatus.js';
13
+ import { OcaMediaStreamMode } from '../../OCP1/OcaMediaStreamMode.js';
14
+ import { OcaMediaStreamModeCapability } from '../../OCP1/OcaMediaStreamModeCapability.js';
15
+ import { OcaMediaTransportTimingParameters } from '../../OCP1/OcaMediaTransportTimingParameters.js';
16
+ import { OcaMultiMap } from '../../OCP1/OcaMultiMap.js';
17
+ import { OcaPort } from '../../OCP1/OcaPort.js';
18
+ import { OcaPortClockMapEntry } from '../../OCP1/OcaPortClockMapEntry.js';
19
+ import { OcaPortID } from '../../OCP1/OcaPortID.js';
20
+ import { OcaString } from '../../OCP1/OcaString.js';
21
+ import { OcaTimeReferenceType } from '../../OCP1/OcaTimeReferenceType.js';
22
+ import { OcaUint16 } from '../../OCP1/OcaUint16.js';
23
+ import { OcaUint32 } from '../../OCP1/OcaUint32.js';
24
+ import { make_control_class } from '../make_control_class.js';
25
+ import { OcaNetworkApplication } from './OcaNetworkApplication.js';
26
+
27
+ /**
28
+ * Connection Management 4 (CM4) class. Specifies the device's control interface
29
+ * to media transport functions. This is the anchoring class for CM4 data
30
+ * structures. Abstract class that shall be subclassed for each media transport
31
+ * Adaptation.
32
+ * @extends OcaNetworkApplication
33
+ * @class OcaMediaTransportApplication
34
+ */
35
+ export const OcaMediaTransportApplication = make_control_class(
36
+ 'OcaMediaTransportApplication',
37
+ 3,
38
+ '\u0001\u0007\u0001',
39
+ 1,
40
+ OcaNetworkApplication,
41
+ [
42
+ ['AddPort', 3, 1, [OcaString, OcaIODirection], [OcaPortID]],
43
+ ['DeletePort', 3, 2, [OcaPortID], []],
44
+ ['GetPorts', 3, 3, [], [OcaList(OcaPort)]],
45
+ ['GetPortName', 3, 4, [OcaPortID], [OcaString]],
46
+ ['SetPortName', 3, 5, [OcaPortID, OcaString], []],
47
+ ['GetPortClockMap', 3, 6, [], [OcaMap(OcaPortID, OcaPortClockMapEntry)]],
48
+ ['SetPortClockMap', 3, 7, [OcaMap(OcaPortID, OcaPortClockMapEntry)], []],
49
+ ['SetPortClockMapEntry', 3, 8, [OcaPortID, OcaPortClockMapEntry], []],
50
+ ['DeletePortClockMapEntry', 3, 9, [OcaPortID], []],
51
+ ['GetPortClockMapEntry', 3, 10, [OcaPortID], [OcaPortClockMapEntry]],
52
+ ['GetMaxEndpointCounts', 3, 11, [], [OcaUint16, OcaUint16]],
53
+ ['GetMaxPortsPerChannel', 3, 12, [], [OcaUint16]],
54
+ ['GetMaxChannelsPerEndpoint', 3, 13, [], [OcaUint16]],
55
+ ['SetAlignmentLevelLimits', 3, 14, [OcaInterval(OcaFloat32)], []],
56
+ [
57
+ 'GetMediaStreamModeCapabilities',
58
+ 3,
59
+ 15,
60
+ [],
61
+ [OcaList(OcaMediaStreamModeCapability)],
62
+ ],
63
+ [
64
+ 'SetMediaStreamModeCapabilities',
65
+ 3,
66
+ 16,
67
+ [OcaList(OcaMediaStreamModeCapability)],
68
+ [],
69
+ ],
70
+ [
71
+ 'GetMediaStreamModeCapability',
72
+ 3,
73
+ 17,
74
+ [OcaUint16],
75
+ [OcaMediaStreamModeCapability],
76
+ ],
77
+ [
78
+ 'GetTransportTimingParameters',
79
+ 3,
80
+ 18,
81
+ [],
82
+ [OcaMediaTransportTimingParameters],
83
+ ],
84
+ [
85
+ 'SetTransportTimingParameters',
86
+ 3,
87
+ 19,
88
+ [OcaMediaTransportTimingParameters],
89
+ [],
90
+ ],
91
+ ['GetAlignmentLevelLimits', 3, 20, [], [OcaInterval(OcaFloat32)]],
92
+ ['GetEndpoints', 3, 21, [], [OcaList(OcaMediaStreamEndpoint)]],
93
+ ['GetEndpoint', 3, 22, [OcaUint32], [OcaMediaStreamEndpoint]],
94
+ [
95
+ 'GetEndpointStatuses',
96
+ 3,
97
+ 23,
98
+ [],
99
+ [OcaMap(OcaUint32, OcaMediaStreamEndpointStatus)],
100
+ ],
101
+ ['GetEndpointStatus', 3, 24, [OcaUint32], [OcaMediaStreamEndpointStatus]],
102
+ ['AddEndpoint', 3, 25, [OcaMediaStreamEndpointState], []],
103
+ ['DeleteEndpoint', 3, 26, [OcaUint32], []],
104
+ [
105
+ 'ApplyEndpointCommand',
106
+ 3,
107
+ 27,
108
+ [OcaUint32, OcaMediaStreamEndpointCommand],
109
+ [],
110
+ ],
111
+ ['SetEndpointUserLabel', 3, 28, [OcaUint32, OcaString], []],
112
+ ['SetEndpointMediaStreamMode', 3, 29, [OcaUint32, OcaMediaStreamMode], []],
113
+ [
114
+ 'SetEndpointChannelMap',
115
+ 3,
116
+ 30,
117
+ [OcaUint32, OcaMultiMap(OcaUint16, OcaPortID)],
118
+ [],
119
+ ],
120
+ ['SetEndpointAlignmentLevel', 3, 31, [OcaUint32, OcaFloat32], []],
121
+ [
122
+ 'GetEndpointTimeSource',
123
+ 3,
124
+ 32,
125
+ [OcaUint32],
126
+ [OcaTimeReferenceType, OcaString],
127
+ ],
128
+ ['SetEndpointAdaptationData', 3, 33, [OcaUint32, OcaBlob], []],
129
+ ['GetEndpointCounterSets', 3, 34, [], [OcaMap(OcaUint32, OcaCounterSet)]],
130
+ ['GetEndpointCounterSet', 3, 35, [OcaUint32], [OcaCounterSet]],
131
+ ['GetEndpointCounter', 3, 36, [OcaUint32, OcaUint16], [OcaCounter]],
132
+ [
133
+ 'AttachEndpointCounterNotifier',
134
+ 3,
135
+ 37,
136
+ [OcaUint32, OcaUint16, OcaUint32],
137
+ [],
138
+ ],
139
+ [
140
+ 'DetachEndpointCounterNotifier',
141
+ 3,
142
+ 38,
143
+ [OcaUint32, OcaUint16, OcaUint32],
144
+ [],
145
+ ],
146
+ ['ResetEndpointCounterSet', 3, 39, [OcaUint32, OcaUint16], []],
147
+ ['GetTransportSessionControlAgentONos', 3, 40, [], [OcaList(OcaUint32)]],
148
+ ['SetTransportSessionControlAgentONos', 3, 41, [OcaList(OcaUint32)], []],
149
+ ],
150
+ [
151
+ ['Ports', [OcaList(OcaPort)], 3, 1, false, false, null],
152
+ [
153
+ 'PortClockMap',
154
+ [OcaMap(OcaPortID, OcaPortClockMapEntry)],
155
+ 3,
156
+ 2,
157
+ false,
158
+ false,
159
+ null,
160
+ ],
161
+ ['MaxInputEndpoints', [OcaUint16], 3, 3, false, false, null],
162
+ ['MaxOutputEndpoints', [OcaUint16], 3, 4, false, false, null],
163
+ ['MaxPortsPerChannel', [OcaUint16], 3, 5, false, false, null],
164
+ ['MaxChannelsPerEndpoint', [OcaUint16], 3, 6, false, false, null],
165
+ [
166
+ 'MediaStreamModeCapabilities',
167
+ [OcaList(OcaMediaStreamModeCapability)],
168
+ 3,
169
+ 7,
170
+ false,
171
+ false,
172
+ null,
173
+ ],
174
+ [
175
+ 'TransportTimingParameters',
176
+ [OcaMediaTransportTimingParameters],
177
+ 3,
178
+ 8,
179
+ false,
180
+ false,
181
+ null,
182
+ ],
183
+ [
184
+ 'AlignmentLevelLimits',
185
+ [OcaInterval(OcaFloat32)],
186
+ 3,
187
+ 9,
188
+ false,
189
+ false,
190
+ null,
191
+ ],
192
+ ['Endpoints', [OcaList(OcaMediaStreamEndpoint)], 3, 10, false, false, null],
193
+ [
194
+ 'EndpointStatuses',
195
+ [OcaMap(OcaUint32, OcaMediaStreamEndpointStatus)],
196
+ 3,
197
+ 11,
198
+ false,
199
+ false,
200
+ null,
201
+ ],
202
+ [
203
+ 'TransportSessionControlAgentONos',
204
+ [OcaList(OcaUint32)],
205
+ 3,
206
+ 13,
207
+ false,
208
+ false,
209
+ null,
210
+ ],
211
+ ],
212
+ []
213
+ );
214
+
215
+ /**
216
+ * Adds an input or output port..
217
+ *
218
+ * @method OcaMediaTransportApplication#AddPort
219
+ * @param {string} Name
220
+ * @param {IOcaIODirection} Mode
221
+ *
222
+ * @returns {Promise<OcaPortID>}
223
+ * A promise which resolves to a single value of type :class:`OcaPortID`.
224
+ */
225
+ /**
226
+ * Deletes an input or output port..
227
+ *
228
+ * @method OcaMediaTransportApplication#DeletePort
229
+ * @param {IOcaPortID} ID
230
+ *
231
+ * @returns {Promise<void>}
232
+ */
233
+ /**
234
+ * Gets the list of ports owned by this object.
235
+ *
236
+ * @method OcaMediaTransportApplication#GetPorts
237
+ * @returns {Promise<OcaPort[]>}
238
+ * A promise which resolves to a single value of type :class:`OcaPort[]`.
239
+ */
240
+ /**
241
+ * Gets the name of the designated port.
242
+ *
243
+ * @method OcaMediaTransportApplication#GetPortName
244
+ * @param {IOcaPortID} PortID
245
+ *
246
+ * @returns {Promise<string>}
247
+ * A promise which resolves to a single value of type ``string``.
248
+ */
249
+ /**
250
+ * Sets the name of the designated port.
251
+ *
252
+ * @method OcaMediaTransportApplication#SetPortName
253
+ * @param {IOcaPortID} PortID
254
+ * @param {string} Name
255
+ *
256
+ * @returns {Promise<void>}
257
+ */
258
+ /**
259
+ * Gets the value of the **PortClockMap** property.
260
+ *
261
+ * @method OcaMediaTransportApplication#GetPortClockMap
262
+ * @returns {Promise<Map<OcaPortID, OcaPortClockMapEntry>>}
263
+ * A promise which resolves to a single value of type ``Map<OcaPortID, OcaPortClockMapEntry>``.
264
+ */
265
+ /**
266
+ * Sets the value of the **PortClockMap** property.
267
+ *
268
+ * @method OcaMediaTransportApplication#SetPortClockMap
269
+ * @param {Map<IOcaPortID, IOcaPortClockMapEntry>} Map
270
+ *
271
+ * @returns {Promise<void>}
272
+ */
273
+ /**
274
+ * Adds or replaces an entry in the **PortClockMap** property.
275
+ *
276
+ * @method OcaMediaTransportApplication#SetPortClockMapEntry
277
+ * @param {IOcaPortID} ID
278
+ * @param {IOcaPortClockMapEntry} Entry
279
+ *
280
+ * @returns {Promise<void>}
281
+ */
282
+ /**
283
+ * Deletes the **PortClockMap** entry identified by the given ID.
284
+ *
285
+ * @method OcaMediaTransportApplication#DeletePortClockMapEntry
286
+ * @param {IOcaPortID} ID
287
+ *
288
+ * @returns {Promise<void>}
289
+ */
290
+ /**
291
+ * Retrieves the value of the **PortClockMap** entry identified by the given
292
+ * port ID.
293
+ *
294
+ * @method OcaMediaTransportApplication#GetPortClockMapEntry
295
+ * @param {IOcaPortID} ID
296
+ *
297
+ * @returns {Promise<OcaPortClockMapEntry>}
298
+ * A promise which resolves to a single value of type :class:`OcaPortClockMapEntry`.
299
+ */
300
+ /**
301
+ * Gets the maximum number of input and output stream endpoints this media
302
+ * transport application supports.
303
+ * The return values of this method are
304
+ *
305
+ * - MaxOutputCount of type ``number``
306
+ * - MaxInputCount of type ``number``
307
+ *
308
+ * @method OcaMediaTransportApplication#GetMaxEndpointCounts
309
+ * @returns {Promise<Arguments<number,number>>}
310
+ */
311
+ /**
312
+ * Gets the maximum number of ports per stream endpoint channel this media
313
+ * transport application supports.
314
+ *
315
+ * @method OcaMediaTransportApplication#GetMaxPortsPerChannel
316
+ * @returns {Promise<number>}
317
+ * A promise which resolves to a single value of type ``number``.
318
+ */
319
+ /**
320
+ * Gets the maximum number of channels per stream endpoint this media transport
321
+ * application supports.
322
+ *
323
+ * @method OcaMediaTransportApplication#GetMaxChannelsPerEndpoint
324
+ * @returns {Promise<number>}
325
+ * A promise which resolves to a single value of type ``number``.
326
+ */
327
+ /**
328
+ * Sets the alignment level limits for stream endpoints attached to this media
329
+ * transport application.
330
+ *
331
+ * @method OcaMediaTransportApplication#SetAlignmentLevelLimits
332
+ * @param {IOcaInterval<number>} Limits
333
+ *
334
+ * @returns {Promise<void>}
335
+ */
336
+ /**
337
+ * Gets this media transport application's media stream mode capability
338
+ * descriptors.
339
+ *
340
+ * @method OcaMediaTransportApplication#GetMediaStreamModeCapabilities
341
+ * @returns {Promise<OcaMediaStreamModeCapability[]>}
342
+ * A promise which resolves to a single value of type :class:`OcaMediaStreamModeCapability[]`.
343
+ */
344
+ /**
345
+ * Sets this media transport application's media stream mode capability
346
+ * descriptors. May only be called when there are no media stream endpoints
347
+ * defined. If this condition is not met, the call will return status value
348
+ * **InvalidRequest.**
349
+ *
350
+ * @method OcaMediaTransportApplication#SetMediaStreamModeCapabilities
351
+ * @param {IOcaMediaStreamModeCapability[]} Capabilities
352
+ *
353
+ * @returns {Promise<void>}
354
+ */
355
+ /**
356
+ * Gets a specific media stream mode capability descriptor.
357
+ *
358
+ * @method OcaMediaTransportApplication#GetMediaStreamModeCapability
359
+ * @param {number} CapabilityID
360
+ *
361
+ * @returns {Promise<OcaMediaStreamModeCapability>}
362
+ * A promise which resolves to a single value of type :class:`OcaMediaStreamModeCapability`.
363
+ */
364
+ /**
365
+ * Gets this media transport application's media transport timing parameters.
366
+ *
367
+ * @method OcaMediaTransportApplication#GetTransportTimingParameters
368
+ * @returns {Promise<OcaMediaTransportTimingParameters>}
369
+ * A promise which resolves to a single value of type :class:`OcaMediaTransportTimingParameters`.
370
+ */
371
+ /**
372
+ * Sets this media transport application's media transport timing parameters.
373
+ * Optional method.
374
+ *
375
+ * @method OcaMediaTransportApplication#SetTransportTimingParameters
376
+ * @param {IOcaMediaTransportTimingParameters} Parameters
377
+ *
378
+ * @returns {Promise<void>}
379
+ */
380
+ /**
381
+ * Gets the min and max alignment levels for stream endpoints attached to this
382
+ * media transport application.
383
+ *
384
+ * @method OcaMediaTransportApplication#GetAlignmentLevelLimits
385
+ * @returns {Promise<OcaInterval<number>>}
386
+ * A promise which resolves to a single value of type :class:`OcaInterval<number>`.
387
+ */
388
+ /**
389
+ * Gets the descriptors of all the stream endpoints owned by this media
390
+ * transport application object.
391
+ *
392
+ * @method OcaMediaTransportApplication#GetEndpoints
393
+ * @returns {Promise<OcaMediaStreamEndpoint[]>}
394
+ * A promise which resolves to a single value of type :class:`OcaMediaStreamEndpoint[]`.
395
+ */
396
+ /**
397
+ * Retrieves the descriptor of a given stream endpoint.
398
+ *
399
+ * @method OcaMediaTransportApplication#GetEndpoint
400
+ * @param {number} ID
401
+ *
402
+ * @returns {Promise<OcaMediaStreamEndpoint>}
403
+ * A promise which resolves to a single value of type :class:`OcaMediaStreamEndpoint`.
404
+ */
405
+ /**
406
+ * Gets the status of all the stream endpoints collected by this media transport
407
+ * application. Key of returned map is endpoint ID.
408
+ *
409
+ * @method OcaMediaTransportApplication#GetEndpointStatuses
410
+ * @returns {Promise<Map<number, OcaMediaStreamEndpointStatus>>}
411
+ * A promise which resolves to a single value of type ``Map<number, OcaMediaStreamEndpointStatus>``.
412
+ */
413
+ /**
414
+ * Gets the status of a single stream endpoint.
415
+ *
416
+ * @method OcaMediaTransportApplication#GetEndpointStatus
417
+ * @param {number} ID
418
+ *
419
+ * @returns {Promise<OcaMediaStreamEndpointStatus>}
420
+ * A promise which resolves to a single value of type :class:`OcaMediaStreamEndpointStatus`.
421
+ */
422
+ /**
423
+ * Adds an Endpoint to this media transport application object. Parameters of
424
+ * the new Endpoint shall be given in the **Endpoint** parameter; Device shall
425
+ * return the same parameter with the new Endpoint ID filled in. The new
426
+ * Endpoint's **AlignmentLevel** value shall be within the bounds set by the
427
+ * property **AlignmentLevelLimits**.
428
+ *
429
+ * @method OcaMediaTransportApplication#AddEndpoint
430
+ * @param {IOcaMediaStreamEndpointState} InitialStatus
431
+ *
432
+ * @returns {Promise<void>}
433
+ */
434
+ /**
435
+ * Deletes a stream endpoint from this media transport application object.
436
+ *
437
+ * @method OcaMediaTransportApplication#DeleteEndpoint
438
+ * @param {number} ID
439
+ *
440
+ * @returns {Promise<void>}
441
+ */
442
+ /**
443
+ * Changes the state of a given Endpoint.
444
+ *
445
+ * @method OcaMediaTransportApplication#ApplyEndpointCommand
446
+ * @param {number} EndpointID
447
+ * @param {IOcaMediaStreamEndpointCommand} Command
448
+ *
449
+ * @returns {Promise<void>}
450
+ */
451
+ /**
452
+ * Sets the **UserLabel** field of the of the referenced Endpoint.
453
+ *
454
+ * @method OcaMediaTransportApplication#SetEndpointUserLabel
455
+ * @param {number} EndpointID
456
+ * @param {string} Label
457
+ *
458
+ * @returns {Promise<void>}
459
+ */
460
+ /**
461
+ * Sets the **CurrentStreamMode** field of the of the designated stream
462
+ * endpoint.
463
+ *
464
+ * @method OcaMediaTransportApplication#SetEndpointMediaStreamMode
465
+ * @param {number} EndpointID
466
+ * @param {IOcaMediaStreamMode} StreamMode
467
+ *
468
+ * @returns {Promise<void>}
469
+ */
470
+ /**
471
+ * Sets an Endpoint's ChannelMap field. Mapping rules:
472
+ *
473
+ * - Input Endpoint maps shall specify only OCA Output Ports.
474
+ *
475
+ * - Output Endpoint maps shall specify only OCA Input Ports.
476
+ *
477
+ * - Input Endpoint maps may specify any number of OCA Output Ports per stream
478
+ * channel.
479
+ *
480
+ * - Output Endpoint maps may specify at most one OCA Input Port per stream
481
+ * channel.
482
+ *
483
+ *
484
+ *
485
+ * @method OcaMediaTransportApplication#SetEndpointChannelMap
486
+ * @param {number} EndpointID
487
+ * @param {Map<number, IOcaPortID[]>} ChannelMap
488
+ *
489
+ * @returns {Promise<void>}
490
+ */
491
+ /**
492
+ * Sets **OcaEndpoint.AlignmentLevel** for the identified endpoint.
493
+ *
494
+ * @method OcaMediaTransportApplication#SetEndpointAlignmentLevel
495
+ * @param {number} EndpointID
496
+ * @param {number} Level
497
+ *
498
+ * @returns {Promise<void>}
499
+ */
500
+ /**
501
+ * Gets type and ID of this Endpoint's time source.
502
+ * The return values of this method are
503
+ *
504
+ * - ReferenceType of type ``IOcaTimeReferenceType``
505
+ * - ReferenceID of type ``string``
506
+ *
507
+ * @method OcaMediaTransportApplication#GetEndpointTimeSource
508
+ * @param {number} ID
509
+ *
510
+ * @returns {Promise<Arguments<OcaTimeReferenceType,string>>}
511
+ */
512
+ /**
513
+ * Sets the AdaptationData field of the given Endpoint.
514
+ *
515
+ * @method OcaMediaTransportApplication#SetEndpointAdaptationData
516
+ * @param {number} EndpointID
517
+ * @param {Uint8Array} Data
518
+ *
519
+ * @returns {Promise<void>}
520
+ */
521
+ /**
522
+ * Retrieves map of counter sets of all Endpoints.
523
+ *
524
+ * @method OcaMediaTransportApplication#GetEndpointCounterSets
525
+ * @returns {Promise<Map<number, OcaCounterSet>>}
526
+ * A promise which resolves to a single value of type ``Map<number, OcaCounterSet>``.
527
+ */
528
+ /**
529
+ * Gets the Counterset of a designated Endpoint.
530
+ *
531
+ * @method OcaMediaTransportApplication#GetEndpointCounterSet
532
+ * @param {number} EndpointID
533
+ *
534
+ * @returns {Promise<OcaCounterSet>}
535
+ * A promise which resolves to a single value of type :class:`OcaCounterSet`.
536
+ */
537
+ /**
538
+ * Retrieves a Counter of a designated Endpoint
539
+ *
540
+ * @method OcaMediaTransportApplication#GetEndpointCounter
541
+ * @param {number} EndpointID
542
+ * @param {number} CounterID
543
+ *
544
+ * @returns {Promise<OcaCounter>}
545
+ * A promise which resolves to a single value of type :class:`OcaCounter`.
546
+ */
547
+ /**
548
+ * Adds a Notifier to the designated Counter.
549
+ *
550
+ * @method OcaMediaTransportApplication#AttachEndpointCounterNotifier
551
+ * @param {number} EndpointID
552
+ * @param {number} CounterID
553
+ * @param {number} NotifierONo
554
+ *
555
+ * @returns {Promise<void>}
556
+ */
557
+ /**
558
+ * Removes a Notifier from the designated Counter.
559
+ *
560
+ * @method OcaMediaTransportApplication#DetachEndpointCounterNotifier
561
+ * @param {number} EndpointID
562
+ * @param {number} CounterID
563
+ * @param {number} NotifierONo
564
+ *
565
+ * @returns {Promise<void>}
566
+ */
567
+ /**
568
+ * Resets Counter(s) of one or all of this media transport application object's
569
+ * Endpoints.
570
+ *
571
+ * - If given Counter ID is zero, resets entire Counterset; otherwise, resets
572
+ * designated Counter only.
573
+ *
574
+ * - If given Endpoint ID is zero, resets the designated Counter(s) in all this
575
+ * media transport application object's Endpoints; otherwise, resets the
576
+ * designated Counter(s) in the designated Endpoint only.
577
+ *
578
+ *
579
+ * Resetting a Counter causes its value to be set to its initial value, as
580
+ * defined in its **OcaCounter** instance.
581
+ *
582
+ * @method OcaMediaTransportApplication#ResetEndpointCounterSet
583
+ * @param {number} EndpointID
584
+ * @param {number} CounterID
585
+ *
586
+ * @returns {Promise<void>}
587
+ */
588
+ /**
589
+ * Gets list of ONos of Media Transport Session Agents associated with this
590
+ * media transport application object, or empty list if there aren't any.
591
+ *
592
+ * @method OcaMediaTransportApplication#GetTransportSessionControlAgentONos
593
+ * @returns {Promise<number[]>}
594
+ * A promise which resolves to a single value of type ``number[]``.
595
+ */
596
+ /**
597
+ * Sets list of ONos of Media Transport Session Agents associated with this
598
+ * media transport application object. Optional method, mainly useful for
599
+ * dynamic devices.
600
+ *
601
+ * @method OcaMediaTransportApplication#SetTransportSessionControlAgentONos
602
+ * @param {number[]} ONos
603
+ *
604
+ * @returns {Promise<void>}
605
+ */
606
+ /**
607
+ * This event is emitted when the property ``Ports`` changes in the remote object.
608
+ * The property ``Ports`` is described in the AES70 standard as follows.
609
+ * The list of **OcaPorts** this network offers on its inward face.
610
+ *
611
+ * @member {PropertyEvent<OcaPort[]>} OcaMediaTransportApplication#OnPortsChanged
612
+ */
613
+ /**
614
+ * This event is emitted when the property ``PortClockMap`` changes in the remote object.
615
+ * The property ``PortClockMap`` is described in the AES70 standard as follows.
616
+ * Map that connects **OcaMediaClock3** object numbers to this network's input
617
+ * and output **OcaPorts** and specifies sampling rate converters, if any.
618
+ * **OcaPortID** = {mode,index}, where mode = Input or Output. Optional
619
+ * property.
620
+ *
621
+ * @member {PropertyEvent<Map<OcaPortID, OcaPortClockMapEntry>>} OcaMediaTransportApplication#OnPortClockMapChanged
622
+ */
623
+ /**
624
+ * This event is emitted when the property ``MaxInputEndpoints`` changes in the remote object.
625
+ * The property ``MaxInputEndpoints`` is described in the AES70 standard as follows.
626
+ * The maximum number of input stream endpoints this media transport network
627
+ * application can have (read-only property).
628
+ *
629
+ * @member {PropertyEvent<number>} OcaMediaTransportApplication#OnMaxInputEndpointsChanged
630
+ */
631
+ /**
632
+ * This event is emitted when the property ``MaxOutputEndpoints`` changes in the remote object.
633
+ * The property ``MaxOutputEndpoints`` is described in the AES70 standard as follows.
634
+ * The maximum number of output stream endpoints this media transport
635
+ * application can have (read-only property).
636
+ *
637
+ * @member {PropertyEvent<number>} OcaMediaTransportApplication#OnMaxOutputEndpointsChanged
638
+ */
639
+ /**
640
+ * This event is emitted when the property ``MaxPortsPerChannel`` changes in the remote object.
641
+ * The property ``MaxPortsPerChannel`` is described in the AES70 standard as follows.
642
+ * The maximum number of ports per stream endpoint channel that this media
643
+ * transport application will support. Value of zero indicates there is no
644
+ * specific limit.
645
+ *
646
+ * @member {PropertyEvent<number>} OcaMediaTransportApplication#OnMaxPortsPerChannelChanged
647
+ */
648
+ /**
649
+ * This event is emitted when the property ``MaxChannelsPerEndpoint`` changes in the remote object.
650
+ * The property ``MaxChannelsPerEndpoint`` is described in the AES70 standard as follows.
651
+ * The maximum number of channels in a stream endpoint that this media transport
652
+ * application will support.
653
+ *
654
+ * @member {PropertyEvent<number>} OcaMediaTransportApplication#OnMaxChannelsPerEndpointChanged
655
+ */
656
+ /**
657
+ * This event is emitted when the property ``MediaStreamModeCapabilities`` changes in the remote object.
658
+ * The property ``MediaStreamModeCapabilities`` is described in the AES70 standard as follows.
659
+ * List of media stream mode capability descriptors that apply to this media
660
+ * transport application.
661
+ *
662
+ * @member {PropertyEvent<OcaMediaStreamModeCapability[]>} OcaMediaTransportApplication#OnMediaStreamModeCapabilitiesChanged
663
+ */
664
+ /**
665
+ * This event is emitted when the property ``TransportTimingParameters`` changes in the remote object.
666
+ * The property ``TransportTimingParameters`` is described in the AES70 standard as follows.
667
+ * Timing parameters for media transport through this media transport
668
+ * application.
669
+ *
670
+ * @member {PropertyEvent<OcaMediaTransportTimingParameters>} OcaMediaTransportApplication#OnTransportTimingParametersChanged
671
+ */
672
+ /**
673
+ * This event is emitted when the property ``AlignmentLevelLimits`` changes in the remote object.
674
+ * The property ``AlignmentLevelLimits`` is described in the AES70 standard as follows.
675
+ * Alignment level limits for newly-created **OcaMediaStreamEndpoint**
676
+ * instances. The min and max values of this property define respectively the
677
+ * lowest and highest alignment level values that may be specified when adding
678
+ * stream endpoints to this media transport application.
679
+ *
680
+ * @member {PropertyEvent<OcaInterval<number>>} OcaMediaTransportApplication#OnAlignmentLevelLimitsChanged
681
+ */
682
+ /**
683
+ * This event is emitted when the property ``Endpoints`` changes in the remote object.
684
+ * The property ``Endpoints`` is described in the AES70 standard as follows.
685
+ * The list of stream endpoints this media transport application has.
686
+ *
687
+ * @member {PropertyEvent<OcaMediaStreamEndpoint[]>} OcaMediaTransportApplication#OnEndpointsChanged
688
+ */
689
+ /**
690
+ * This event is emitted when the property ``EndpointStatuses`` changes in the remote object.
691
+ * The property ``EndpointStatuses`` is described in the AES70 standard as follows.
692
+ * Map of states of this media transport application's endpoints. Map key is
693
+ * endpoint ID.
694
+ *
695
+ * @member {PropertyEvent<Map<number, OcaMediaStreamEndpointStatus>>} OcaMediaTransportApplication#OnEndpointStatusesChanged
696
+ */
697
+ /**
698
+ * This event is emitted when the property ``TransportSessionControlAgentONos`` changes in the remote object.
699
+ * The property ``TransportSessionControlAgentONos`` is described in the AES70 standard as follows.
700
+ * Object number(s) of media transport session control agent(s) associated with
701
+ * this media transport application.
702
+ *
703
+ * @member {PropertyEvent<number[]>} OcaMediaTransportApplication#OnTransportSessionControlAgentONosChanged
704
+ */