Comparing version 1.0.7-6 to 2.0.1-0
@@ -19,3 +19,3 @@ /* gentd.js - Typescript class from the ETP Avro schemas. | ||
var argv = require('optimist').default({ | ||
protocolFile: 'etp/src/Schemas/etp.avpr', | ||
protocolFile: './etp.avpr', | ||
outputFile: "./lib/EtpMessages.ts" | ||
@@ -29,2 +29,6 @@ }).argv; | ||
var references = []; // ["etp-avro/etp-avro.d.ts"]; | ||
var tsImports = []; //[{name: "avro", module: "etp-avro"},{name:'foo',module:'./foo'}]; | ||
var jsRequires = []; //[{name: 'Schemas', module: "./EtpSchemas.js"}]; | ||
var protocol = fs.readFileSync(argv.protocolFile, "ascii"); | ||
@@ -98,31 +102,5 @@ var schemas = JSON.parse(protocol).types; | ||
for (var i = 0; i < parts.length; i++) | ||
this.end("};"); | ||
this.end("}"); | ||
}, | ||
beginTraits: function(typeName) { | ||
this.start("namespace avro {"); | ||
this.start("template<> struct codec_traits<" + typeName +"> {"); | ||
}, | ||
endTraits: function() { | ||
this.end("};"); | ||
this.end("}"); | ||
}, | ||
beginEncoderTraits: function(typeName) { | ||
this.start("static void encode(Encoder& e, const " + typeName +"& v) {"); | ||
}, | ||
endEncoderTraits: function() { | ||
this.end("}"); | ||
}, | ||
beginDecoderTraits: function(typeName) { | ||
this.start("static void decode(Decoder& e, " + typeName +"& v) {"); | ||
}, | ||
endDecoderTraits: function() { | ||
this.end("}"); | ||
}, | ||
line: function (token) { | ||
@@ -194,53 +172,4 @@ this.write(token + "\n"); | ||
generateUnionTraits: function(name, types) | ||
{ | ||
this.start("namespace avro {"); | ||
this.start("template<> struct codec_traits<" + name + "> {\n"); | ||
this.start("static void encode(Encoder& e, " + name + " v) {\n"); | ||
this.write("e.encodeUnionIndex(v.idx());\n"); | ||
this.start("switch (v.idx()) {"); | ||
for (var i = 0; i < types.length; i++) { | ||
var nn = types[i]; | ||
this.start("case " + i + ":"); | ||
if (nn == "null") { | ||
this.write("e.encodeNull();\n"); | ||
} else { | ||
this.write("avro::encode(e, v.get_" + this.unqualifiedName(nn) + "());\n"); | ||
} | ||
this.write("break;"); | ||
this.end(""); | ||
} | ||
this.end("}"); | ||
this.end("}"); | ||
this.start("static void decode(Decoder& d, " + name + "& v) {\n"); | ||
this.write("size_t n = d.decodeUnionIndex();\n") | ||
this.write('if (n >= ' + types.length + ') { throw avro::Exception("Union index too big"); }\n'); | ||
this.start("switch (n) {"); | ||
for (var i = 0; i < types.length; i++) { | ||
nn = types[i]; | ||
this.start("case " + i + ":"); | ||
this.start("{"); | ||
if (nn == "null") { | ||
this.write("d.decodeNull();\n"); | ||
this.write("v.set_null();\n"); | ||
} else { | ||
this.write(this.cppName(nn) + " vv;\n"); | ||
this.write("avro::decode(d, vv);\n"); | ||
this.write("v.set_" + this.unqualifiedName(nn) + "(vv);\n"); | ||
} | ||
this.end("}"); | ||
this.write("break;"); | ||
this.end(""); | ||
} | ||
this.end("}"); | ||
this.end("}"); | ||
this.end("};"); | ||
this.end("}\n"); | ||
}, | ||
defaultValue: function(schema) { | ||
type = this.typeOf(schema); | ||
var type = this.typeOf(schema); | ||
switch (type) { | ||
@@ -307,2 +236,7 @@ case "object": | ||
} | ||
this.line("_schema : any = JSON.parse('" + JSON.stringify(schema) + "');"); | ||
if(this.isMessage(schema)) { | ||
this.line("static _protocol : number = " + Number(schema.protocol) + ";"); | ||
this.line("static _messageTypeId : number = " + Number(schema.messageType) + ";"); | ||
} | ||
this.end("}"); | ||
@@ -328,3 +262,3 @@ this.endNamespace(name); | ||
} | ||
this.end("};"); | ||
this.end("}"); | ||
this.endNamespace(name); | ||
@@ -370,2 +304,6 @@ } | ||
isMessage: function(schema) { | ||
return ( schema.messageType >= 0 ) && ( schema.protocol >= 0 ); | ||
}, | ||
createClasses: function (schemas) { | ||
@@ -391,3 +329,17 @@ console.log("Processing schema list"); | ||
fdw = fs.openSync(argv.outputFile, 'w'); | ||
references.forEach(function(ref){ | ||
fs.writeSync(fdw, "/// <reference path='" + ref + "'/>\n"); | ||
}); | ||
tsImports.forEach(function(imp){ | ||
fs.writeSync(fdw, "export import " + imp.name + " = require('" + imp.module + "');\n"); | ||
}); | ||
jsRequires.forEach(function(req){ | ||
fs.writeSync(fdw, "export var " + req.name + " = require('" + req.module + "');\n"); | ||
}); | ||
//fs.writeSync(fdw, "import avro=require('./Avro');\n\n"); | ||
fs.writeSync(fdw, classes.definitions); | ||
fs.close(fdw); |
@@ -6,2 +6,3 @@ (function (Energistics) { | ||
this.values = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"ArrayOfDouble","fields":[{"name":"values","type":{"type":"array","items":"double"}}],"fullName":"Energistics.Datatypes.ArrayOfDouble","depends":[]}'); | ||
} | ||
@@ -13,6 +14,4 @@ return ArrayOfDouble; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -24,2 +23,3 @@ (function (Datatypes) { | ||
this.offset = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"DateTime","fields":[{"name":"time","type":"long"},{"name":"offset","type":"float"}],"fullName":"Energistics.Datatypes.DateTime","depends":[]}'); | ||
} | ||
@@ -31,10 +31,22 @@ return DateTime; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Datatypes) { | ||
(function (ErrorCodes) { | ||
ErrorCodes[ErrorCodes["ENOROLE"] = 0] = "ENOROLE"; | ||
ErrorCodes[ErrorCodes["ENOSUPPORTEDPROTOCOLS"] = 1] = "ENOSUPPORTEDPROTOCOLS"; | ||
ErrorCodes[ErrorCodes["EINVALID_MESSAGETYPE"] = 2] = "EINVALID_MESSAGETYPE"; | ||
ErrorCodes[ErrorCodes["EUNSUPPORTED_PROTOCOL"] = 3] = "EUNSUPPORTED_PROTOCOL"; | ||
})(Datatypes.ErrorCodes || (Datatypes.ErrorCodes = {})); | ||
var ErrorCodes = Datatypes.ErrorCodes; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
(function (Energistics) { | ||
(function (Datatypes) { | ||
var DataValue = (function () { | ||
function DataValue() { | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"DataValue","fields":[{"name":"item","type":["null","double","float","int","long","string","Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble","boolean"]}],"fullName":"Energistics.Datatypes.DataValue","depends":["Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble"]}'); | ||
} | ||
@@ -46,6 +58,4 @@ return DataValue; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -56,2 +66,3 @@ (function (Datatypes) { | ||
this.attributeId = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"DataAttribute","fields":[{"name":"attributeId","type":"int"},{"name":"attributeValue","type":"Energistics.Datatypes.DataValue"}],"fullName":"Energistics.Datatypes.DataAttribute","depends":["Energistics.Datatypes.DataValue"]}'); | ||
} | ||
@@ -63,24 +74,6 @@ return DataAttribute; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Datatypes) { | ||
(function (ErrorCodes) { | ||
ErrorCodes[ErrorCodes["ENOROLE"] = 0] = "ENOROLE"; | ||
ErrorCodes[ErrorCodes["ENOSUPPORTEDPROTOCOLS"] = 1] = "ENOSUPPORTEDPROTOCOLS"; | ||
ErrorCodes[ErrorCodes["EINVALID_MESSAGETYPE"] = 2] = "EINVALID_MESSAGETYPE"; | ||
ErrorCodes[ErrorCodes["EUNSUPPORTED_PROTOCOL"] = 3] = "EUNSUPPORTED_PROTOCOL"; | ||
})(Datatypes.ErrorCodes || (Datatypes.ErrorCodes = {})); | ||
var ErrorCodes = Datatypes.ErrorCodes; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Datatypes) { | ||
var MessageHeader = (function () { | ||
@@ -93,2 +86,3 @@ function MessageHeader() { | ||
this.messageFlags = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"MessageHeader","fields":[{"name":"protocol","type":"int"},{"name":"messageType","type":"int"},{"name":"correlationId","type":"long"},{"name":"messageId","type":"long"},{"name":"messageFlags","type":"int"}],"fullName":"Energistics.Datatypes.MessageHeader","depends":[]}'); | ||
} | ||
@@ -100,6 +94,4 @@ return MessageHeader; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -116,9 +108,6 @@ (function (Datatypes) { | ||
var Protocols = Datatypes.Protocols; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -132,2 +121,3 @@ (function (Datatypes) { | ||
this.patch = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"Version","fields":[{"name":"major","type":"int"},{"name":"minor","type":"int"},{"name":"revision","type":"int"},{"name":"patch","type":"int"}],"fullName":"Energistics.Datatypes.Version","depends":[]}'); | ||
} | ||
@@ -139,6 +129,4 @@ return Version; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -151,2 +139,3 @@ (function (Datatypes) { | ||
this.protocolCapabilities = {}; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes","name":"SupportedProtocol","fields":[{"name":"protocol","type":"int"},{"name":"protocolVersion","type":"Energistics.Datatypes.Version"},{"name":"role","type":"string"},{"name":"protocolCapabilities","type":{"type":"map","values":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.SupportedProtocol","depends":["Energistics.Datatypes.Version","Energistics.Datatypes.DataValue"]}'); | ||
} | ||
@@ -158,6 +147,4 @@ return SupportedProtocol; | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -172,12 +159,8 @@ (function (Datatypes) { | ||
var ChannelIndexTypes = ChannelData.ChannelIndexTypes; | ||
; | ||
})(Datatypes.ChannelData || (Datatypes.ChannelData = {})); | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -192,12 +175,8 @@ (function (Datatypes) { | ||
var ChannelStatuses = ChannelData.ChannelStatuses; | ||
; | ||
})(Datatypes.ChannelData || (Datatypes.ChannelData = {})); | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -211,12 +190,8 @@ (function (Datatypes) { | ||
var ErrorCodes = ChannelData.ErrorCodes; | ||
; | ||
})(Datatypes.ChannelData || (Datatypes.ChannelData = {})); | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -230,12 +205,8 @@ (function (Datatypes) { | ||
var IndexDirections = ChannelData.IndexDirections; | ||
; | ||
})(Datatypes.ChannelData || (Datatypes.ChannelData = {})); | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -247,2 +218,3 @@ (function (Datatypes) { | ||
this.uom = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexMetadataRecord","fields":[{"name":"indexType","type":"Energistics.Datatypes.ChannelData.ChannelIndexTypes"},{"name":"uom","type":"string"},{"name":"datum","type":["null","string"]},{"name":"direction","type":"Energistics.Datatypes.ChannelData.IndexDirections"},{"name":"mnemonic","type":["null","string"]},{"name":"description","type":["null","string"]},{"name":"uri","type":["null","string"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexMetadataRecord","depends":["Energistics.Datatypes.ChannelData.ChannelIndexTypes","Energistics.Datatypes.ChannelData.IndexDirections"]}'); | ||
} | ||
@@ -254,9 +226,6 @@ return IndexMetadataRecord; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -267,2 +236,3 @@ (function (Datatypes) { | ||
function IndexValue() { | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexValue","fields":[{"name":"item","type":["Energistics.Datatypes.DateTime","double","long"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexValue","depends":["Energistics.Datatypes.DateTime"]}'); | ||
} | ||
@@ -274,9 +244,6 @@ return IndexValue; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -294,2 +261,3 @@ (function (Datatypes) { | ||
this.description = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelMetadataRecord","fields":[{"name":"channelUri","type":"string"},{"name":"channelId","type":"int"},{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"mnemonic","type":"string"},{"name":"dataType","type":"string"},{"name":"uom","type":"string"},{"name":"startIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"endIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"description","type":"string"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.ChannelStatuses"]}'); | ||
} | ||
@@ -301,9 +269,6 @@ return ChannelMetadataRecord; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -315,2 +280,3 @@ (function (Datatypes) { | ||
this.channelId = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelRangeInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelRangeInfo","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]}'); | ||
} | ||
@@ -322,9 +288,6 @@ return ChannelRangeInfo; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -338,2 +301,3 @@ (function (Datatypes) { | ||
this.valueAttributes = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"DataItem","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"channelId","type":"int"},{"name":"value","type":"Energistics.Datatypes.DataValue"},{"name":"valueAttributes","type":{"type":"array","items":"Energistics.Datatypes.DataAttribute"}}],"fullName":"Energistics.Datatypes.ChannelData.DataItem","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue","Energistics.Datatypes.DataAttribute"]}'); | ||
} | ||
@@ -345,9 +309,6 @@ return DataItem; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -361,12 +322,8 @@ (function (Datatypes) { | ||
var Roles = ChannelData.Roles; | ||
; | ||
})(Datatypes.ChannelData || (Datatypes.ChannelData = {})); | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -377,2 +334,3 @@ (function (Datatypes) { | ||
function StreamingStartIndex() { | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"StreamingStartIndex","fields":[{"name":"item","type":["null","int","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Datatypes.ChannelData.StreamingStartIndex","depends":["Energistics.Datatypes.ChannelData.IndexValue"]}'); | ||
} | ||
@@ -384,9 +342,6 @@ return StreamingStartIndex; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -399,2 +354,3 @@ (function (Datatypes) { | ||
this.receiveChangeNotification = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStreamingInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.StreamingStartIndex"},{"name":"receiveChangeNotification","type":"boolean"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo","depends":["Energistics.Datatypes.ChannelData.StreamingStartIndex"]}'); | ||
} | ||
@@ -406,9 +362,6 @@ return ChannelStreamingInfo; | ||
var ChannelData = Datatypes.ChannelData; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -421,2 +374,3 @@ (function (Datatypes) { | ||
this.data = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.ChannelDataFrame","name":"DataRow","fields":[{"name":"index","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.ChannelDataFrame.DataRow","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue"]}'); | ||
} | ||
@@ -428,9 +382,6 @@ return DataRow; | ||
var ChannelDataFrame = Datatypes.ChannelDataFrame; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -447,2 +398,3 @@ (function (Datatypes) { | ||
this.data = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.Object","name":"DataObject","fields":[{"name":"namespace","type":"string"},{"name":"version","type":"string"},{"name":"objectType","type":"string"},{"name":"contentType","type":"string"},{"name":"contentEncoding","type":"string"},{"name":"data","type":"bytes"}],"fullName":"Energistics.Datatypes.Object.DataObject","depends":[]}'); | ||
} | ||
@@ -454,9 +406,6 @@ return DataObject; | ||
var Object = Datatypes.Object; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -473,2 +422,3 @@ (function (Datatypes) { | ||
this.hasChildren = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Datatypes.Object","name":"Resource","fields":[{"name":"uri","type":"string"},{"name":"name","type":"string"},{"name":"subscribable","type":"boolean"},{"name":"customData","type":{"type":"map","values":"string"}},{"name":"resourceType","type":"string"},{"name":"hasChildren","type":"int"}],"fullName":"Energistics.Datatypes.Object.Resource","depends":[]}'); | ||
} | ||
@@ -480,30 +430,67 @@ return Resource; | ||
var Object = Datatypes.Object; | ||
; | ||
})(Energistics.Datatypes || (Energistics.Datatypes = {})); | ||
var Datatypes = Energistics.Datatypes; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Domain) { | ||
(function (Drilling) { | ||
var TrajectoryStation = (function () { | ||
function TrajectoryStation() { | ||
this.uuid = null; | ||
(function (Protocol) { | ||
(function (_ChannelDataFrame) { | ||
var ChannelDataFrame = (function () { | ||
function ChannelDataFrame() { | ||
this.channels = []; | ||
this.data = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelDataFrame","messageType":"4","protocol":"2","fields":[{"name":"channels","type":{"type":"array","items":"int"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelDataFrame.DataRow"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelDataFrame","depends":["Energistics.Datatypes.ChannelDataFrame.DataRow"]}'); | ||
} | ||
return TrajectoryStation; | ||
ChannelDataFrame._protocol = 2; | ||
ChannelDataFrame._messageTypeId = 4; | ||
return ChannelDataFrame; | ||
})(); | ||
Drilling.TrajectoryStation = TrajectoryStation; | ||
})(Domain.Drilling || (Domain.Drilling = {})); | ||
var Drilling = Domain.Drilling; | ||
; | ||
})(Energistics.Domain || (Energistics.Domain = {})); | ||
var Domain = Energistics.Domain; | ||
; | ||
_ChannelDataFrame.ChannelDataFrame = ChannelDataFrame; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (ChannelDataFrame) { | ||
var ChannelMetadata = (function () { | ||
function ChannelMetadata() { | ||
this.indexes = []; | ||
this.channels = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelMetadata","messageType":"3","protocol":"2","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]}'); | ||
} | ||
ChannelMetadata._protocol = 2; | ||
ChannelMetadata._messageTypeId = 3; | ||
return ChannelMetadata; | ||
})(); | ||
ChannelDataFrame.ChannelMetadata = ChannelMetadata; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (ChannelDataFrame) { | ||
var RequestChannelData = (function () { | ||
function RequestChannelData() { | ||
this.uri = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"RequestChannelData","messageType":"1","protocol":"2","fields":[{"name":"uri","type":"string"},{"name":"fromIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"toIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Protocol.ChannelDataFrame.RequestChannelData","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]}'); | ||
} | ||
RequestChannelData._protocol = 2; | ||
RequestChannelData._messageTypeId = 1; | ||
return RequestChannelData; | ||
})(); | ||
ChannelDataFrame.RequestChannelData = RequestChannelData; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (ChannelStreaming) { | ||
@@ -513,3 +500,6 @@ var ChannelData = (function () { | ||
this.data = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelData","messageType":"3","protocol":"1","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelData","depends":["Energistics.Datatypes.ChannelData.DataItem"]}'); | ||
} | ||
ChannelData._protocol = 1; | ||
ChannelData._messageTypeId = 3; | ||
return ChannelData; | ||
@@ -520,9 +510,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -535,3 +522,6 @@ (function (Protocol) { | ||
this.data = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDataChange","messageType":"6","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDataChange","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.DataItem"]}'); | ||
} | ||
ChannelDataChange._protocol = 1; | ||
ChannelDataChange._messageTypeId = 6; | ||
return ChannelDataChange; | ||
@@ -542,9 +532,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -556,3 +543,6 @@ (function (Protocol) { | ||
this.channelId = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDelete","messageType":"8","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"deleteReason","type":["null","string"]}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDelete","depends":[]}'); | ||
} | ||
ChannelDelete._protocol = 1; | ||
ChannelDelete._messageTypeId = 8; | ||
return ChannelDelete; | ||
@@ -563,9 +553,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -577,3 +564,6 @@ (function (Protocol) { | ||
this.uris = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDescribe","messageType":"1","protocol":"1","fields":[{"name":"uris","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDescribe","depends":[]}'); | ||
} | ||
ChannelDescribe._protocol = 1; | ||
ChannelDescribe._messageTypeId = 1; | ||
return ChannelDescribe; | ||
@@ -584,9 +574,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -598,3 +585,6 @@ (function (Protocol) { | ||
this.channels = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelMetadata","messageType":"2","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]}'); | ||
} | ||
ChannelMetadata._protocol = 1; | ||
ChannelMetadata._messageTypeId = 2; | ||
return ChannelMetadata; | ||
@@ -605,9 +595,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -619,3 +606,6 @@ (function (Protocol) { | ||
this.channelRanges = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelRangeRequest","messageType":"9","protocol":"1","fields":[{"name":"channelRanges","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelRangeInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelRangeRequest","depends":["Energistics.Datatypes.ChannelData.ChannelRangeInfo"]}'); | ||
} | ||
ChannelRangeRequest._protocol = 1; | ||
ChannelRangeRequest._messageTypeId = 9; | ||
return ChannelRangeRequest; | ||
@@ -626,9 +616,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -640,3 +627,6 @@ (function (Protocol) { | ||
this.channelId = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStatusChange","messageType":"10","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStatusChange","depends":["Energistics.Datatypes.ChannelData.ChannelStatuses"]}'); | ||
} | ||
ChannelStatusChange._protocol = 1; | ||
ChannelStatusChange._messageTypeId = 10; | ||
return ChannelStatusChange; | ||
@@ -647,9 +637,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -661,3 +648,6 @@ (function (Protocol) { | ||
this.channels = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStart","messageType":"4","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStart","depends":["Energistics.Datatypes.ChannelData.ChannelStreamingInfo"]}'); | ||
} | ||
ChannelStreamingStart._protocol = 1; | ||
ChannelStreamingStart._messageTypeId = 4; | ||
return ChannelStreamingStart; | ||
@@ -668,9 +658,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -682,3 +669,6 @@ (function (Protocol) { | ||
this.channels = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStop","messageType":"5","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"int"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStop","depends":[]}'); | ||
} | ||
ChannelStreamingStop._protocol = 1; | ||
ChannelStreamingStop._messageTypeId = 5; | ||
return ChannelStreamingStop; | ||
@@ -689,9 +679,6 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -704,3 +691,6 @@ (function (Protocol) { | ||
this.maxDataItems = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"Start","messageType":"0","protocol":"1","fields":[{"name":"maxMessageRate","type":"int"},{"name":"maxDataItems","type":"int"}],"fullName":"Energistics.Protocol.ChannelStreaming.Start","depends":[]}'); | ||
} | ||
Start._protocol = 1; | ||
Start._messageTypeId = 0; | ||
return Start; | ||
@@ -711,113 +701,15 @@ })(); | ||
var ChannelStreaming = Protocol.ChannelStreaming; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (_ChannelDataFrame) { | ||
var ChannelDataFrame = (function () { | ||
function ChannelDataFrame() { | ||
this.channels = []; | ||
this.data = []; | ||
} | ||
return ChannelDataFrame; | ||
})(); | ||
_ChannelDataFrame.ChannelDataFrame = ChannelDataFrame; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (ChannelDataFrame) { | ||
var ChannelMetadata = (function () { | ||
function ChannelMetadata() { | ||
this.indexes = []; | ||
this.channels = []; | ||
} | ||
return ChannelMetadata; | ||
})(); | ||
ChannelDataFrame.ChannelMetadata = ChannelMetadata; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (ChannelDataFrame) { | ||
var RequestChannelData = (function () { | ||
function RequestChannelData() { | ||
this.uri = null; | ||
} | ||
return RequestChannelData; | ||
})(); | ||
ChannelDataFrame.RequestChannelData = RequestChannelData; | ||
})(Protocol.ChannelDataFrame || (Protocol.ChannelDataFrame = {})); | ||
var ChannelDataFrame = Protocol.ChannelDataFrame; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Discovery) { | ||
var GetResources = (function () { | ||
function GetResources() { | ||
this.uri = null; | ||
} | ||
return GetResources; | ||
})(); | ||
Discovery.GetResources = GetResources; | ||
})(Protocol.Discovery || (Protocol.Discovery = {})); | ||
var Discovery = Protocol.Discovery; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Discovery) { | ||
var GetResourcesResponse = (function () { | ||
function GetResourcesResponse() { | ||
this.uri = null; | ||
this.resources = []; | ||
} | ||
return GetResourcesResponse; | ||
})(); | ||
Discovery.GetResourcesResponse = GetResourcesResponse; | ||
})(Protocol.Discovery || (Protocol.Discovery = {})); | ||
var Discovery = Protocol.Discovery; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Core) { | ||
var Acknowledge = (function () { | ||
function Acknowledge() { | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Core","name":"Acknowledge","messageType":"1001","protocol":"0","fields":[],"fullName":"Energistics.Protocol.Core.Acknowledge","depends":[]}'); | ||
} | ||
Acknowledge._protocol = 0; | ||
Acknowledge._messageTypeId = 1001; | ||
return Acknowledge; | ||
@@ -828,9 +720,6 @@ })(); | ||
var Core = Protocol.Core; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -841,3 +730,6 @@ (function (Protocol) { | ||
function CloseSession() { | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Core","name":"CloseSession","messageType":"5","protocol":"0","fields":[{"name":"reason","type":["null","string"]}],"fullName":"Energistics.Protocol.Core.CloseSession","depends":[]}'); | ||
} | ||
CloseSession._protocol = 0; | ||
CloseSession._messageTypeId = 5; | ||
return CloseSession; | ||
@@ -848,9 +740,6 @@ })(); | ||
var Core = Protocol.Core; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -864,3 +753,6 @@ (function (Protocol) { | ||
this.supportedProtocols = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Core","name":"OpenSession","messageType":"2","protocol":"0","fields":[{"name":"applicationName","type":"string"},{"name":"sessionId","type":"string"},{"name":"supportedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}}],"fullName":"Energistics.Protocol.Core.OpenSession","depends":["Energistics.Datatypes.SupportedProtocol"]}'); | ||
} | ||
OpenSession._protocol = 0; | ||
OpenSession._messageTypeId = 2; | ||
return OpenSession; | ||
@@ -871,9 +763,6 @@ })(); | ||
var Core = Protocol.Core; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -886,3 +775,6 @@ (function (Protocol) { | ||
this.errorMessage = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Core","name":"ProtocolException","messageType":"1000","protocol":"0","fields":[{"name":"errorCode","type":"int"},{"name":"errorMessage","type":"string"}],"fullName":"Energistics.Protocol.Core.ProtocolException","depends":[]}'); | ||
} | ||
ProtocolException._protocol = 0; | ||
ProtocolException._messageTypeId = 1000; | ||
return ProtocolException; | ||
@@ -893,9 +785,6 @@ })(); | ||
var Core = Protocol.Core; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -908,3 +797,6 @@ (function (Protocol) { | ||
this.applicationName = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Core","name":"RequestSession","messageType":"1","protocol":"0","fields":[{"name":"requestedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}},{"name":"applicationName","type":"string"}],"fullName":"Energistics.Protocol.Core.RequestSession","depends":["Energistics.Datatypes.SupportedProtocol"]}'); | ||
} | ||
RequestSession._protocol = 0; | ||
RequestSession._messageTypeId = 1; | ||
return RequestSession; | ||
@@ -915,11 +807,47 @@ })(); | ||
var Core = Protocol.Core; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Discovery) { | ||
var GetResources = (function () { | ||
function GetResources() { | ||
this.uri = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResources","messageType":"1","protocol":"3","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Discovery.GetResources","depends":[]}'); | ||
} | ||
GetResources._protocol = 3; | ||
GetResources._messageTypeId = 1; | ||
return GetResources; | ||
})(); | ||
Discovery.GetResources = GetResources; | ||
})(Protocol.Discovery || (Protocol.Discovery = {})); | ||
var Discovery = Protocol.Discovery; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Discovery) { | ||
var GetResourcesResponse = (function () { | ||
function GetResourcesResponse() { | ||
this.uri = null; | ||
this.resources = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResourcesResponse","messageType":"2","protocol":"3","fields":[{"name":"uri","type":"string"},{"name":"resources","type":{"type":"array","items":"Energistics.Datatypes.Object.Resource"}}],"fullName":"Energistics.Protocol.Discovery.GetResourcesResponse","depends":["Energistics.Datatypes.Object.Resource"]}'); | ||
} | ||
GetResourcesResponse._protocol = 3; | ||
GetResourcesResponse._messageTypeId = 2; | ||
return GetResourcesResponse; | ||
})(); | ||
Discovery.GetResourcesResponse = GetResourcesResponse; | ||
})(Protocol.Discovery || (Protocol.Discovery = {})); | ||
var Discovery = Protocol.Discovery; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
(function (Energistics) { | ||
(function (Protocol) { | ||
(function (Store) { | ||
@@ -929,3 +857,6 @@ var AddToStore = (function () { | ||
this.data = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Store","name":"AddToStore","messageType":"1","protocol":"4","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.AddToStore","depends":["Energistics.Datatypes.Object.DataObject"]}'); | ||
} | ||
AddToStore._protocol = 4; | ||
AddToStore._messageTypeId = 1; | ||
return AddToStore; | ||
@@ -936,9 +867,6 @@ })(); | ||
var Store = Protocol.Store; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -950,3 +878,6 @@ (function (Protocol) { | ||
this.uri = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Store","name":"DeleteFromStore","messageType":"2","protocol":"4","fields":[{"name":"uri","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.Store.DeleteFromStore","depends":[]}'); | ||
} | ||
DeleteFromStore._protocol = 4; | ||
DeleteFromStore._messageTypeId = 2; | ||
return DeleteFromStore; | ||
@@ -957,9 +888,6 @@ })(); | ||
var Store = Protocol.Store; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -971,3 +899,6 @@ (function (Protocol) { | ||
this.uri = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Store","name":"GetFromStore","messageType":"0","protocol":"4","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Store.GetFromStore","depends":[]}'); | ||
} | ||
GetFromStore._protocol = 4; | ||
GetFromStore._messageTypeId = 0; | ||
return GetFromStore; | ||
@@ -978,9 +909,6 @@ })(); | ||
var Store = Protocol.Store; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
@@ -992,3 +920,6 @@ (function (Protocol) { | ||
this.dataObjects = []; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Protocol.Store","name":"Object","messageType":"3","protocol":"4","fields":[{"name":"dataObjects","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.Object","depends":["Energistics.Datatypes.Object.DataObject"]}'); | ||
} | ||
Object._protocol = 4; | ||
Object._messageTypeId = 3; | ||
return Object; | ||
@@ -999,9 +930,23 @@ })(); | ||
var Store = Protocol.Store; | ||
; | ||
})(Energistics.Protocol || (Energistics.Protocol = {})); | ||
var Protocol = Energistics.Protocol; | ||
; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
; | ||
(function (Energistics) { | ||
(function (Domain) { | ||
(function (Drilling) { | ||
var TrajectoryStation = (function () { | ||
function TrajectoryStation() { | ||
this.uuid = null; | ||
this._schema = JSON.parse('{"type":"record","namespace":"Energistics.Domain.Drilling","name":"TrajectoryStation","fields":[{"name":"uuid","type":"string"}],"fullName":"Energistics.Domain.Drilling.TrajectoryStation","depends":[]}'); | ||
} | ||
return TrajectoryStation; | ||
})(); | ||
Drilling.TrajectoryStation = TrajectoryStation; | ||
})(Domain.Drilling || (Domain.Drilling = {})); | ||
var Drilling = Domain.Drilling; | ||
})(Energistics.Domain || (Energistics.Domain = {})); | ||
var Domain = Energistics.Domain; | ||
})(exports.Energistics || (exports.Energistics = {})); | ||
var Energistics = exports.Energistics; | ||
//# sourceMappingURL=EtpMessages.js.map |
@@ -1,3 +0,3 @@ | ||
var RalfSchemas = JSON.parse('{"namespace":"energistics","protocol":"exp","version":"","types":[{"type":"record","namespace":"Energistics.Datatypes","name":"ArrayOfDouble","fields":[{"name":"values","type":{"type":"array","items":"double"}}],"fullName":"Energistics.Datatypes.ArrayOfDouble","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"DateTime","fields":[{"name":"time","type":"long"},{"name":"offset","type":"float"}],"fullName":"Energistics.Datatypes.DateTime","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"DataValue","fields":[{"name":"item","type":["null","double","float","int","long","string","Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble","boolean"]}],"fullName":"Energistics.Datatypes.DataValue","depends":["Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble"]},{"type":"record","namespace":"Energistics.Datatypes","name":"DataAttribute","fields":[{"name":"attributeId","type":"int"},{"name":"attributeValue","type":"Energistics.Datatypes.DataValue"}],"fullName":"Energistics.Datatypes.DataAttribute","depends":["Energistics.Datatypes.DataValue"]},{"type":"enum","namespace":"Energistics.Datatypes","name":"ErrorCodes","symbols":["ENOROLE","ENOSUPPORTEDPROTOCOLS","EINVALID_MESSAGETYPE","EUNSUPPORTED_PROTOCOL"],"fullName":"Energistics.Datatypes.ErrorCodes","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"MessageHeader","fields":[{"name":"protocol","type":"int"},{"name":"messageType","type":"int"},{"name":"correlationId","type":"long"},{"name":"messageId","type":"long"},{"name":"messageFlags","type":"int"}],"fullName":"Energistics.Datatypes.MessageHeader","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes","name":"Protocols","symbols":["Core","Channel_Data","Channel_Tabular","Discovery","Object_Store","Object_Query"],"fullName":"Energistics.Datatypes.Protocols","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"Version","fields":[{"name":"major","type":"int"},{"name":"minor","type":"int"},{"name":"revision","type":"int"},{"name":"patch","type":"int"}],"fullName":"Energistics.Datatypes.Version","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"SupportedProtocol","fields":[{"name":"protocol","type":"int"},{"name":"protocolVersion","type":"Energistics.Datatypes.Version"},{"name":"role","type":"string"},{"name":"protocolCapabilities","type":{"type":"map","values":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.SupportedProtocol","depends":["Energistics.Datatypes.Version","Energistics.Datatypes.DataValue"]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelIndexTypes","symbols":["Time","Depth","ElapsedTime"],"fullName":"Energistics.Datatypes.ChannelData.ChannelIndexTypes","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStatuses","symbols":["Active","Inactive","Closed"],"fullName":"Energistics.Datatypes.ChannelData.ChannelStatuses","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ErrorCodes","symbols":["EINVALID_URI","EINVALID_CHANNELID"],"fullName":"Energistics.Datatypes.ChannelData.ErrorCodes","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"IndexDirections","symbols":["Increasing","Decreasing"],"fullName":"Energistics.Datatypes.ChannelData.IndexDirections","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexMetadataRecord","fields":[{"name":"indexType","type":"Energistics.Datatypes.ChannelData.ChannelIndexTypes"},{"name":"uom","type":"string"},{"name":"datum","type":["null","string"]},{"name":"direction","type":"Energistics.Datatypes.ChannelData.IndexDirections"},{"name":"mnemonic","type":["null","string"]},{"name":"description","type":["null","string"]},{"name":"uri","type":["null","string"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexMetadataRecord","depends":["Energistics.Datatypes.ChannelData.ChannelIndexTypes","Energistics.Datatypes.ChannelData.IndexDirections"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexValue","fields":[{"name":"item","type":["Energistics.Datatypes.DateTime","double","long"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexValue","depends":["Energistics.Datatypes.DateTime"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelMetadataRecord","fields":[{"name":"channelUri","type":"string"},{"name":"channelId","type":"int"},{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"mnemonic","type":"string"},{"name":"dataType","type":"string"},{"name":"uom","type":"string"},{"name":"startIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"endIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"description","type":"string"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.ChannelStatuses"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelRangeInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelRangeInfo","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"DataItem","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"channelId","type":"int"},{"name":"value","type":"Energistics.Datatypes.DataValue"},{"name":"valueAttributes","type":{"type":"array","items":"Energistics.Datatypes.DataAttribute"}}],"fullName":"Energistics.Datatypes.ChannelData.DataItem","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue","Energistics.Datatypes.DataAttribute"]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"Roles","symbols":["Producer","Consumer"],"fullName":"Energistics.Datatypes.ChannelData.Roles","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"StreamingStartIndex","fields":[{"name":"item","type":["null","int","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Datatypes.ChannelData.StreamingStartIndex","depends":["Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStreamingInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.StreamingStartIndex"},{"name":"receiveChangeNotification","type":"boolean"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo","depends":["Energistics.Datatypes.ChannelData.StreamingStartIndex"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelDataFrame","name":"DataRow","fields":[{"name":"index","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.ChannelDataFrame.DataRow","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue"]},{"type":"record","namespace":"Energistics.Datatypes.Object","name":"DataObject","fields":[{"name":"namespace","type":"string"},{"name":"version","type":"string"},{"name":"objectType","type":"string"},{"name":"contentType","type":"string"},{"name":"contentEncoding","type":"string"},{"name":"data","type":"bytes"}],"fullName":"Energistics.Datatypes.Object.DataObject","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.Object","name":"Resource","fields":[{"name":"uri","type":"string"},{"name":"name","type":"string"},{"name":"subscribable","type":"boolean"},{"name":"customData","type":{"type":"map","values":"string"}},{"name":"resourceType","type":"string"},{"name":"hasChildren","type":"int"}],"fullName":"Energistics.Datatypes.Object.Resource","depends":[]},{"type":"record","namespace":"Energistics.Domain.Drilling","name":"TrajectoryStation","fields":[{"name":"uuid","type":"string"}],"fullName":"Energistics.Domain.Drilling.TrajectoryStation","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelDataFrame","messageType":"4","protocol":"2","fields":[{"name":"channels","type":{"type":"array","items":"int"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelDataFrame.DataRow"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelDataFrame","depends":["Energistics.Datatypes.ChannelDataFrame.DataRow"]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelMetadata","messageType":"3","protocol":"2","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"RequestChannelData","messageType":"1","protocol":"2","fields":[{"name":"uri","type":"string"},{"name":"fromIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"toIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Protocol.ChannelDataFrame.RequestChannelData","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"Acknowledge","messageType":"1001","protocol":"0","fields":[],"fullName":"Energistics.Protocol.Core.Acknowledge","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"CloseSession","messageType":"5","protocol":"0","fields":[{"name":"reason","type":["null","string"]}],"fullName":"Energistics.Protocol.Core.CloseSession","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"OpenSession","messageType":"2","protocol":"0","fields":[{"name":"applicationName","type":"string"},{"name":"sessionId","type":"string"},{"name":"supportedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}}],"fullName":"Energistics.Protocol.Core.OpenSession","depends":["Energistics.Datatypes.SupportedProtocol"]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"ProtocolException","messageType":"1000","protocol":"0","fields":[{"name":"errorCode","type":"int"},{"name":"errorMessage","type":"string"}],"fullName":"Energistics.Protocol.Core.ProtocolException","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"RequestSession","messageType":"1","protocol":"0","fields":[{"name":"requestedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}},{"name":"applicationName","type":"string"}],"fullName":"Energistics.Protocol.Core.RequestSession","depends":["Energistics.Datatypes.SupportedProtocol"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelData","messageType":"3","protocol":"1","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelData","depends":["Energistics.Datatypes.ChannelData.DataItem"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDataChange","messageType":"6","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDataChange","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.DataItem"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDelete","messageType":"8","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"deleteReason","type":["null","string"]}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDelete","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDescribe","messageType":"1","protocol":"1","fields":[{"name":"uris","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDescribe","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelMetadata","messageType":"2","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelRangeRequest","messageType":"9","protocol":"1","fields":[{"name":"channelRanges","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelRangeInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelRangeRequest","depends":["Energistics.Datatypes.ChannelData.ChannelRangeInfo"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStatusChange","messageType":"10","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStatusChange","depends":["Energistics.Datatypes.ChannelData.ChannelStatuses"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStart","messageType":"4","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStart","depends":["Energistics.Datatypes.ChannelData.ChannelStreamingInfo"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStop","messageType":"5","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"int"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStop","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"Start","messageType":"0","protocol":"1","fields":[{"name":"maxMessageRate","type":"int"},{"name":"maxDataItems","type":"int"}],"fullName":"Energistics.Protocol.ChannelStreaming.Start","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"AddToStore","messageType":"1","protocol":"4","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.AddToStore","depends":["Energistics.Datatypes.Object.DataObject"]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"DeleteFromStore","messageType":"2","protocol":"4","fields":[{"name":"uri","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.Store.DeleteFromStore","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"GetFromStore","messageType":"0","protocol":"4","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Store.GetFromStore","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"Object","messageType":"3","protocol":"4","fields":[{"name":"dataObjects","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.Object","depends":["Energistics.Datatypes.Object.DataObject"]},{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResources","messageType":"1","protocol":"3","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Discovery.GetResources","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResourcesResponse","messageType":"2","protocol":"3","fields":[{"name":"uri","type":"string"},{"name":"resources","type":{"type":"array","items":"Energistics.Datatypes.Object.Resource"}}],"fullName":"Energistics.Protocol.Discovery.GetResourcesResponse","depends":["Energistics.Datatypes.Object.Resource"]}],"Energistics":{"Datatypes":{"ArrayOfDouble":{"type":"record","namespace":"Energistics.Datatypes","name":"ArrayOfDouble","fields":[{"name":"values","type":{"type":"array","items":"double"}}],"fullName":"Energistics.Datatypes.ArrayOfDouble","depends":[]},"DateTime":{"type":"record","namespace":"Energistics.Datatypes","name":"DateTime","fields":[{"name":"time","type":"long"},{"name":"offset","type":"float"}],"fullName":"Energistics.Datatypes.DateTime","depends":[]},"DataValue":{"type":"record","namespace":"Energistics.Datatypes","name":"DataValue","fields":[{"name":"item","type":["null","double","float","int","long","string","Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble","boolean"]}],"fullName":"Energistics.Datatypes.DataValue","depends":["Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble"]},"DataAttribute":{"type":"record","namespace":"Energistics.Datatypes","name":"DataAttribute","fields":[{"name":"attributeId","type":"int"},{"name":"attributeValue","type":"Energistics.Datatypes.DataValue"}],"fullName":"Energistics.Datatypes.DataAttribute","depends":["Energistics.Datatypes.DataValue"]},"ErrorCodes":{"type":"enum","namespace":"Energistics.Datatypes","name":"ErrorCodes","symbols":["ENOROLE","ENOSUPPORTEDPROTOCOLS","EINVALID_MESSAGETYPE","EUNSUPPORTED_PROTOCOL"],"fullName":"Energistics.Datatypes.ErrorCodes","depends":[]},"MessageHeader":{"type":"record","namespace":"Energistics.Datatypes","name":"MessageHeader","fields":[{"name":"protocol","type":"int"},{"name":"messageType","type":"int"},{"name":"correlationId","type":"long"},{"name":"messageId","type":"long"},{"name":"messageFlags","type":"int"}],"fullName":"Energistics.Datatypes.MessageHeader","depends":[]},"Protocols":{"type":"enum","namespace":"Energistics.Datatypes","name":"Protocols","symbols":["Core","Channel_Data","Channel_Tabular","Discovery","Object_Store","Object_Query"],"fullName":"Energistics.Datatypes.Protocols","depends":[]},"Version":{"type":"record","namespace":"Energistics.Datatypes","name":"Version","fields":[{"name":"major","type":"int"},{"name":"minor","type":"int"},{"name":"revision","type":"int"},{"name":"patch","type":"int"}],"fullName":"Energistics.Datatypes.Version","depends":[]},"SupportedProtocol":{"type":"record","namespace":"Energistics.Datatypes","name":"SupportedProtocol","fields":[{"name":"protocol","type":"int"},{"name":"protocolVersion","type":"Energistics.Datatypes.Version"},{"name":"role","type":"string"},{"name":"protocolCapabilities","type":{"type":"map","values":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.SupportedProtocol","depends":["Energistics.Datatypes.Version","Energistics.Datatypes.DataValue"]},"ChannelData":{"ChannelIndexTypes":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelIndexTypes","symbols":["Time","Depth","ElapsedTime"],"fullName":"Energistics.Datatypes.ChannelData.ChannelIndexTypes","depends":[]},"ChannelStatuses":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStatuses","symbols":["Active","Inactive","Closed"],"fullName":"Energistics.Datatypes.ChannelData.ChannelStatuses","depends":[]},"ErrorCodes":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ErrorCodes","symbols":["EINVALID_URI","EINVALID_CHANNELID"],"fullName":"Energistics.Datatypes.ChannelData.ErrorCodes","depends":[]},"IndexDirections":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"IndexDirections","symbols":["Increasing","Decreasing"],"fullName":"Energistics.Datatypes.ChannelData.IndexDirections","depends":[]},"IndexMetadataRecord":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexMetadataRecord","fields":[{"name":"indexType","type":"Energistics.Datatypes.ChannelData.ChannelIndexTypes"},{"name":"uom","type":"string"},{"name":"datum","type":["null","string"]},{"name":"direction","type":"Energistics.Datatypes.ChannelData.IndexDirections"},{"name":"mnemonic","type":["null","string"]},{"name":"description","type":["null","string"]},{"name":"uri","type":["null","string"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexMetadataRecord","depends":["Energistics.Datatypes.ChannelData.ChannelIndexTypes","Energistics.Datatypes.ChannelData.IndexDirections"]},"IndexValue":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexValue","fields":[{"name":"item","type":["Energistics.Datatypes.DateTime","double","long"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexValue","depends":["Energistics.Datatypes.DateTime"]},"ChannelMetadataRecord":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelMetadataRecord","fields":[{"name":"channelUri","type":"string"},{"name":"channelId","type":"int"},{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"mnemonic","type":"string"},{"name":"dataType","type":"string"},{"name":"uom","type":"string"},{"name":"startIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"endIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"description","type":"string"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.ChannelStatuses"]},"ChannelRangeInfo":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelRangeInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelRangeInfo","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},"DataItem":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"DataItem","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"channelId","type":"int"},{"name":"value","type":"Energistics.Datatypes.DataValue"},{"name":"valueAttributes","type":{"type":"array","items":"Energistics.Datatypes.DataAttribute"}}],"fullName":"Energistics.Datatypes.ChannelData.DataItem","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue","Energistics.Datatypes.DataAttribute"]},"Roles":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"Roles","symbols":["Producer","Consumer"],"fullName":"Energistics.Datatypes.ChannelData.Roles","depends":[]},"StreamingStartIndex":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"StreamingStartIndex","fields":[{"name":"item","type":["null","int","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Datatypes.ChannelData.StreamingStartIndex","depends":["Energistics.Datatypes.ChannelData.IndexValue"]},"ChannelStreamingInfo":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStreamingInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.StreamingStartIndex"},{"name":"receiveChangeNotification","type":"boolean"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo","depends":["Energistics.Datatypes.ChannelData.StreamingStartIndex"]}},"ChannelDataFrame":{"DataRow":{"type":"record","namespace":"Energistics.Datatypes.ChannelDataFrame","name":"DataRow","fields":[{"name":"index","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.ChannelDataFrame.DataRow","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue"]}},"Object":{"DataObject":{"type":"record","namespace":"Energistics.Datatypes.Object","name":"DataObject","fields":[{"name":"namespace","type":"string"},{"name":"version","type":"string"},{"name":"objectType","type":"string"},{"name":"contentType","type":"string"},{"name":"contentEncoding","type":"string"},{"name":"data","type":"bytes"}],"fullName":"Energistics.Datatypes.Object.DataObject","depends":[]},"Resource":{"type":"record","namespace":"Energistics.Datatypes.Object","name":"Resource","fields":[{"name":"uri","type":"string"},{"name":"name","type":"string"},{"name":"subscribable","type":"boolean"},{"name":"customData","type":{"type":"map","values":"string"}},{"name":"resourceType","type":"string"},{"name":"hasChildren","type":"int"}],"fullName":"Energistics.Datatypes.Object.Resource","depends":[]}}},"Domain":{"Drilling":{"TrajectoryStation":{"type":"record","namespace":"Energistics.Domain.Drilling","name":"TrajectoryStation","fields":[{"name":"uuid","type":"string"}],"fullName":"Energistics.Domain.Drilling.TrajectoryStation","depends":[]}}},"Protocol":{"ChannelDataFrame":{"ChannelDataFrame":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelDataFrame","messageType":"4","protocol":"2","fields":[{"name":"channels","type":{"type":"array","items":"int"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelDataFrame.DataRow"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelDataFrame","depends":["Energistics.Datatypes.ChannelDataFrame.DataRow"]},"ChannelMetadata":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelMetadata","messageType":"3","protocol":"2","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},"RequestChannelData":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"RequestChannelData","messageType":"1","protocol":"2","fields":[{"name":"uri","type":"string"},{"name":"fromIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"toIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Protocol.ChannelDataFrame.RequestChannelData","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]}},"Core":{"Acknowledge":{"type":"record","namespace":"Energistics.Protocol.Core","name":"Acknowledge","messageType":"1001","protocol":"0","fields":[],"fullName":"Energistics.Protocol.Core.Acknowledge","depends":[]},"CloseSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"CloseSession","messageType":"5","protocol":"0","fields":[{"name":"reason","type":["null","string"]}],"fullName":"Energistics.Protocol.Core.CloseSession","depends":[]},"OpenSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"OpenSession","messageType":"2","protocol":"0","fields":[{"name":"applicationName","type":"string"},{"name":"sessionId","type":"string"},{"name":"supportedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}}],"fullName":"Energistics.Protocol.Core.OpenSession","depends":["Energistics.Datatypes.SupportedProtocol"]},"ProtocolException":{"type":"record","namespace":"Energistics.Protocol.Core","name":"ProtocolException","messageType":"1000","protocol":"0","fields":[{"name":"errorCode","type":"int"},{"name":"errorMessage","type":"string"}],"fullName":"Energistics.Protocol.Core.ProtocolException","depends":[]},"RequestSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"RequestSession","messageType":"1","protocol":"0","fields":[{"name":"requestedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}},{"name":"applicationName","type":"string"}],"fullName":"Energistics.Protocol.Core.RequestSession","depends":["Energistics.Datatypes.SupportedProtocol"]}},"ChannelStreaming":{"ChannelData":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelData","messageType":"3","protocol":"1","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelData","depends":["Energistics.Datatypes.ChannelData.DataItem"]},"ChannelDataChange":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDataChange","messageType":"6","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDataChange","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.DataItem"]},"ChannelDelete":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDelete","messageType":"8","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"deleteReason","type":["null","string"]}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDelete","depends":[]},"ChannelDescribe":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDescribe","messageType":"1","protocol":"1","fields":[{"name":"uris","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDescribe","depends":[]},"ChannelMetadata":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelMetadata","messageType":"2","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},"ChannelRangeRequest":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelRangeRequest","messageType":"9","protocol":"1","fields":[{"name":"channelRanges","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelRangeInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelRangeRequest","depends":["Energistics.Datatypes.ChannelData.ChannelRangeInfo"]},"ChannelStatusChange":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStatusChange","messageType":"10","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStatusChange","depends":["Energistics.Datatypes.ChannelData.ChannelStatuses"]},"ChannelStreamingStart":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStart","messageType":"4","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStart","depends":["Energistics.Datatypes.ChannelData.ChannelStreamingInfo"]},"ChannelStreamingStop":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStop","messageType":"5","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"int"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStop","depends":[]},"Start":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"Start","messageType":"0","protocol":"1","fields":[{"name":"maxMessageRate","type":"int"},{"name":"maxDataItems","type":"int"}],"fullName":"Energistics.Protocol.ChannelStreaming.Start","depends":[]}},"Store":{"AddToStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"AddToStore","messageType":"1","protocol":"4","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.AddToStore","depends":["Energistics.Datatypes.Object.DataObject"]},"DeleteFromStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"DeleteFromStore","messageType":"2","protocol":"4","fields":[{"name":"uri","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.Store.DeleteFromStore","depends":[]},"GetFromStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"GetFromStore","messageType":"0","protocol":"4","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Store.GetFromStore","depends":[]},"Object":{"type":"record","namespace":"Energistics.Protocol.Store","name":"Object","messageType":"3","protocol":"4","fields":[{"name":"dataObjects","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.Object","depends":["Energistics.Datatypes.Object.DataObject"]}},"Discovery":{"GetResources":{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResources","messageType":"1","protocol":"3","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Discovery.GetResources","depends":[]},"GetResourcesResponse":{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResourcesResponse","messageType":"2","protocol":"3","fields":[{"name":"uri","type":"string"},{"name":"resources","type":{"type":"array","items":"Energistics.Datatypes.Object.Resource"}}],"fullName":"Energistics.Protocol.Discovery.GetResourcesResponse","depends":["Energistics.Datatypes.Object.Resource"]}}}}}'); | ||
var RalfSchemas = JSON.parse('{"namespace":"energistics","protocol":"exp","version":"","types":[{"type":"record","namespace":"Energistics.Datatypes","name":"ArrayOfDouble","fields":[{"name":"values","type":{"type":"array","items":"double"}}],"fullName":"Energistics.Datatypes.ArrayOfDouble","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"DateTime","fields":[{"name":"time","type":"long"},{"name":"offset","type":"float"}],"fullName":"Energistics.Datatypes.DateTime","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"DataValue","fields":[{"name":"item","type":["null","double","float","int","long","string","Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble","boolean"]}],"fullName":"Energistics.Datatypes.DataValue","depends":["Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble"]},{"type":"record","namespace":"Energistics.Datatypes","name":"DataAttribute","fields":[{"name":"attributeId","type":"int"},{"name":"attributeValue","type":"Energistics.Datatypes.DataValue"}],"fullName":"Energistics.Datatypes.DataAttribute","depends":["Energistics.Datatypes.DataValue"]},{"type":"enum","namespace":"Energistics.Datatypes","name":"ErrorCodes","symbols":["ENOROLE","ENOSUPPORTEDPROTOCOLS","EINVALID_MESSAGETYPE","EUNSUPPORTED_PROTOCOL"],"fullName":"Energistics.Datatypes.ErrorCodes","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"MessageHeader","fields":[{"name":"protocol","type":"int"},{"name":"messageType","type":"int"},{"name":"correlationId","type":"long"},{"name":"messageId","type":"long"},{"name":"messageFlags","type":"int"}],"fullName":"Energistics.Datatypes.MessageHeader","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes","name":"Protocols","symbols":["Core","Channel_Data","Channel_Tabular","Discovery","Object_Store","Object_Query"],"fullName":"Energistics.Datatypes.Protocols","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"Version","fields":[{"name":"major","type":"int"},{"name":"minor","type":"int"},{"name":"revision","type":"int"},{"name":"patch","type":"int"}],"fullName":"Energistics.Datatypes.Version","depends":[]},{"type":"record","namespace":"Energistics.Datatypes","name":"SupportedProtocol","fields":[{"name":"protocol","type":"int"},{"name":"protocolVersion","type":"Energistics.Datatypes.Version"},{"name":"role","type":"string"},{"name":"protocolCapabilities","type":{"type":"map","values":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.SupportedProtocol","depends":["Energistics.Datatypes.Version","Energistics.Datatypes.DataValue"]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelIndexTypes","symbols":["Time","Depth","ElapsedTime"],"fullName":"Energistics.Datatypes.ChannelData.ChannelIndexTypes","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStatuses","symbols":["Active","Inactive","Closed"],"fullName":"Energistics.Datatypes.ChannelData.ChannelStatuses","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ErrorCodes","symbols":["EINVALID_URI","EINVALID_CHANNELID"],"fullName":"Energistics.Datatypes.ChannelData.ErrorCodes","depends":[]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"IndexDirections","symbols":["Increasing","Decreasing"],"fullName":"Energistics.Datatypes.ChannelData.IndexDirections","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexMetadataRecord","fields":[{"name":"indexType","type":"Energistics.Datatypes.ChannelData.ChannelIndexTypes"},{"name":"uom","type":"string"},{"name":"datum","type":["null","string"]},{"name":"direction","type":"Energistics.Datatypes.ChannelData.IndexDirections"},{"name":"mnemonic","type":["null","string"]},{"name":"description","type":["null","string"]},{"name":"uri","type":["null","string"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexMetadataRecord","depends":["Energistics.Datatypes.ChannelData.ChannelIndexTypes","Energistics.Datatypes.ChannelData.IndexDirections"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexValue","fields":[{"name":"item","type":["Energistics.Datatypes.DateTime","double","long"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexValue","depends":["Energistics.Datatypes.DateTime"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelRangeInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelRangeInfo","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelMetadataRecord","fields":[{"name":"channelUri","type":"string"},{"name":"channelId","type":"int"},{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"mnemonic","type":"string"},{"name":"dataType","type":"string"},{"name":"uom","type":"string"},{"name":"startIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"endIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"description","type":"string"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.ChannelStatuses"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"DataItem","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"channelId","type":"int"},{"name":"value","type":"Energistics.Datatypes.DataValue"},{"name":"valueAttributes","type":{"type":"array","items":"Energistics.Datatypes.DataAttribute"}}],"fullName":"Energistics.Datatypes.ChannelData.DataItem","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue","Energistics.Datatypes.DataAttribute"]},{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"Roles","symbols":["Producer","Consumer"],"fullName":"Energistics.Datatypes.ChannelData.Roles","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"StreamingStartIndex","fields":[{"name":"item","type":["null","int","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Datatypes.ChannelData.StreamingStartIndex","depends":["Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStreamingInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.StreamingStartIndex"},{"name":"receiveChangeNotification","type":"boolean"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo","depends":["Energistics.Datatypes.ChannelData.StreamingStartIndex"]},{"type":"record","namespace":"Energistics.Datatypes.ChannelDataFrame","name":"DataRow","fields":[{"name":"index","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.ChannelDataFrame.DataRow","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue"]},{"type":"record","namespace":"Energistics.Datatypes.Object","name":"DataObject","fields":[{"name":"namespace","type":"string"},{"name":"version","type":"string"},{"name":"objectType","type":"string"},{"name":"contentType","type":"string"},{"name":"contentEncoding","type":"string"},{"name":"data","type":"bytes"}],"fullName":"Energistics.Datatypes.Object.DataObject","depends":[]},{"type":"record","namespace":"Energistics.Datatypes.Object","name":"Resource","fields":[{"name":"uri","type":"string"},{"name":"name","type":"string"},{"name":"subscribable","type":"boolean"},{"name":"customData","type":{"type":"map","values":"string"}},{"name":"resourceType","type":"string"},{"name":"hasChildren","type":"int"}],"fullName":"Energistics.Datatypes.Object.Resource","depends":[]},{"type":"record","namespace":"Energistics.Domain.Drilling","name":"TrajectoryStation","fields":[{"name":"uuid","type":"string"}],"fullName":"Energistics.Domain.Drilling.TrajectoryStation","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelDataFrame","messageType":"4","protocol":"2","fields":[{"name":"channels","type":{"type":"array","items":"int"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelDataFrame.DataRow"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelDataFrame","depends":["Energistics.Datatypes.ChannelDataFrame.DataRow"]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelMetadata","messageType":"3","protocol":"2","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"RequestChannelData","messageType":"1","protocol":"2","fields":[{"name":"uri","type":"string"},{"name":"fromIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"toIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Protocol.ChannelDataFrame.RequestChannelData","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelData","messageType":"3","protocol":"1","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelData","depends":["Energistics.Datatypes.ChannelData.DataItem"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDataChange","messageType":"6","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDataChange","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.DataItem"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDelete","messageType":"8","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"deleteReason","type":["null","string"]}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDelete","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDescribe","messageType":"1","protocol":"1","fields":[{"name":"uris","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDescribe","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelMetadata","messageType":"2","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelRangeRequest","messageType":"9","protocol":"1","fields":[{"name":"channelRanges","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelRangeInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelRangeRequest","depends":["Energistics.Datatypes.ChannelData.ChannelRangeInfo"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStatusChange","messageType":"10","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStatusChange","depends":["Energistics.Datatypes.ChannelData.ChannelStatuses"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStart","messageType":"4","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStart","depends":["Energistics.Datatypes.ChannelData.ChannelStreamingInfo"]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStop","messageType":"5","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"int"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStop","depends":[]},{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"Start","messageType":"0","protocol":"1","fields":[{"name":"maxMessageRate","type":"int"},{"name":"maxDataItems","type":"int"}],"fullName":"Energistics.Protocol.ChannelStreaming.Start","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"Acknowledge","messageType":"1001","protocol":"0","fields":[],"fullName":"Energistics.Protocol.Core.Acknowledge","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"CloseSession","messageType":"5","protocol":"0","fields":[{"name":"reason","type":["null","string"]}],"fullName":"Energistics.Protocol.Core.CloseSession","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"OpenSession","messageType":"2","protocol":"0","fields":[{"name":"applicationName","type":"string"},{"name":"sessionId","type":"string"},{"name":"supportedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}}],"fullName":"Energistics.Protocol.Core.OpenSession","depends":["Energistics.Datatypes.SupportedProtocol"]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"ProtocolException","messageType":"1000","protocol":"0","fields":[{"name":"errorCode","type":"int"},{"name":"errorMessage","type":"string"}],"fullName":"Energistics.Protocol.Core.ProtocolException","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Core","name":"RequestSession","messageType":"1","protocol":"0","fields":[{"name":"requestedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}},{"name":"applicationName","type":"string"}],"fullName":"Energistics.Protocol.Core.RequestSession","depends":["Energistics.Datatypes.SupportedProtocol"]},{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResources","messageType":"1","protocol":"3","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Discovery.GetResources","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResourcesResponse","messageType":"2","protocol":"3","fields":[{"name":"uri","type":"string"},{"name":"resources","type":{"type":"array","items":"Energistics.Datatypes.Object.Resource"}}],"fullName":"Energistics.Protocol.Discovery.GetResourcesResponse","depends":["Energistics.Datatypes.Object.Resource"]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"AddToStore","messageType":"1","protocol":"4","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.AddToStore","depends":["Energistics.Datatypes.Object.DataObject"]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"DeleteFromStore","messageType":"2","protocol":"4","fields":[{"name":"uri","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.Store.DeleteFromStore","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"GetFromStore","messageType":"0","protocol":"4","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Store.GetFromStore","depends":[]},{"type":"record","namespace":"Energistics.Protocol.Store","name":"Object","messageType":"3","protocol":"4","fields":[{"name":"dataObjects","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.Object","depends":["Energistics.Datatypes.Object.DataObject"]}],"Energistics":{"Datatypes":{"ArrayOfDouble":{"type":"record","namespace":"Energistics.Datatypes","name":"ArrayOfDouble","fields":[{"name":"values","type":{"type":"array","items":"double"}}],"fullName":"Energistics.Datatypes.ArrayOfDouble","depends":[]},"DateTime":{"type":"record","namespace":"Energistics.Datatypes","name":"DateTime","fields":[{"name":"time","type":"long"},{"name":"offset","type":"float"}],"fullName":"Energistics.Datatypes.DateTime","depends":[]},"DataValue":{"type":"record","namespace":"Energistics.Datatypes","name":"DataValue","fields":[{"name":"item","type":["null","double","float","int","long","string","Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble","boolean"]}],"fullName":"Energistics.Datatypes.DataValue","depends":["Energistics.Datatypes.DateTime","Energistics.Datatypes.ArrayOfDouble"]},"DataAttribute":{"type":"record","namespace":"Energistics.Datatypes","name":"DataAttribute","fields":[{"name":"attributeId","type":"int"},{"name":"attributeValue","type":"Energistics.Datatypes.DataValue"}],"fullName":"Energistics.Datatypes.DataAttribute","depends":["Energistics.Datatypes.DataValue"]},"ErrorCodes":{"type":"enum","namespace":"Energistics.Datatypes","name":"ErrorCodes","symbols":["ENOROLE","ENOSUPPORTEDPROTOCOLS","EINVALID_MESSAGETYPE","EUNSUPPORTED_PROTOCOL"],"fullName":"Energistics.Datatypes.ErrorCodes","depends":[]},"MessageHeader":{"type":"record","namespace":"Energistics.Datatypes","name":"MessageHeader","fields":[{"name":"protocol","type":"int"},{"name":"messageType","type":"int"},{"name":"correlationId","type":"long"},{"name":"messageId","type":"long"},{"name":"messageFlags","type":"int"}],"fullName":"Energistics.Datatypes.MessageHeader","depends":[]},"Protocols":{"type":"enum","namespace":"Energistics.Datatypes","name":"Protocols","symbols":["Core","Channel_Data","Channel_Tabular","Discovery","Object_Store","Object_Query"],"fullName":"Energistics.Datatypes.Protocols","depends":[]},"Version":{"type":"record","namespace":"Energistics.Datatypes","name":"Version","fields":[{"name":"major","type":"int"},{"name":"minor","type":"int"},{"name":"revision","type":"int"},{"name":"patch","type":"int"}],"fullName":"Energistics.Datatypes.Version","depends":[]},"SupportedProtocol":{"type":"record","namespace":"Energistics.Datatypes","name":"SupportedProtocol","fields":[{"name":"protocol","type":"int"},{"name":"protocolVersion","type":"Energistics.Datatypes.Version"},{"name":"role","type":"string"},{"name":"protocolCapabilities","type":{"type":"map","values":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.SupportedProtocol","depends":["Energistics.Datatypes.Version","Energistics.Datatypes.DataValue"]},"ChannelData":{"ChannelIndexTypes":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelIndexTypes","symbols":["Time","Depth","ElapsedTime"],"fullName":"Energistics.Datatypes.ChannelData.ChannelIndexTypes","depends":[]},"ChannelStatuses":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStatuses","symbols":["Active","Inactive","Closed"],"fullName":"Energistics.Datatypes.ChannelData.ChannelStatuses","depends":[]},"ErrorCodes":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"ErrorCodes","symbols":["EINVALID_URI","EINVALID_CHANNELID"],"fullName":"Energistics.Datatypes.ChannelData.ErrorCodes","depends":[]},"IndexDirections":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"IndexDirections","symbols":["Increasing","Decreasing"],"fullName":"Energistics.Datatypes.ChannelData.IndexDirections","depends":[]},"IndexMetadataRecord":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexMetadataRecord","fields":[{"name":"indexType","type":"Energistics.Datatypes.ChannelData.ChannelIndexTypes"},{"name":"uom","type":"string"},{"name":"datum","type":["null","string"]},{"name":"direction","type":"Energistics.Datatypes.ChannelData.IndexDirections"},{"name":"mnemonic","type":["null","string"]},{"name":"description","type":["null","string"]},{"name":"uri","type":["null","string"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexMetadataRecord","depends":["Energistics.Datatypes.ChannelData.ChannelIndexTypes","Energistics.Datatypes.ChannelData.IndexDirections"]},"IndexValue":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"IndexValue","fields":[{"name":"item","type":["Energistics.Datatypes.DateTime","double","long"]}],"fullName":"Energistics.Datatypes.ChannelData.IndexValue","depends":["Energistics.Datatypes.DateTime"]},"ChannelRangeInfo":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelRangeInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelRangeInfo","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]},"ChannelMetadataRecord":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelMetadataRecord","fields":[{"name":"channelUri","type":"string"},{"name":"channelId","type":"int"},{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"mnemonic","type":"string"},{"name":"dataType","type":"string"},{"name":"uom","type":"string"},{"name":"startIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"endIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"description","type":"string"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.ChannelStatuses"]},"DataItem":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"DataItem","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"channelId","type":"int"},{"name":"value","type":"Energistics.Datatypes.DataValue"},{"name":"valueAttributes","type":{"type":"array","items":"Energistics.Datatypes.DataAttribute"}}],"fullName":"Energistics.Datatypes.ChannelData.DataItem","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue","Energistics.Datatypes.DataAttribute"]},"Roles":{"type":"enum","namespace":"Energistics.Datatypes.ChannelData","name":"Roles","symbols":["Producer","Consumer"],"fullName":"Energistics.Datatypes.ChannelData.Roles","depends":[]},"StreamingStartIndex":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"StreamingStartIndex","fields":[{"name":"item","type":["null","int","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Datatypes.ChannelData.StreamingStartIndex","depends":["Energistics.Datatypes.ChannelData.IndexValue"]},"ChannelStreamingInfo":{"type":"record","namespace":"Energistics.Datatypes.ChannelData","name":"ChannelStreamingInfo","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.StreamingStartIndex"},{"name":"receiveChangeNotification","type":"boolean"}],"fullName":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo","depends":["Energistics.Datatypes.ChannelData.StreamingStartIndex"]}},"ChannelDataFrame":{"DataRow":{"type":"record","namespace":"Energistics.Datatypes.ChannelDataFrame","name":"DataRow","fields":[{"name":"index","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexValue"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.DataValue"}}],"fullName":"Energistics.Datatypes.ChannelDataFrame.DataRow","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.DataValue"]}},"Object":{"DataObject":{"type":"record","namespace":"Energistics.Datatypes.Object","name":"DataObject","fields":[{"name":"namespace","type":"string"},{"name":"version","type":"string"},{"name":"objectType","type":"string"},{"name":"contentType","type":"string"},{"name":"contentEncoding","type":"string"},{"name":"data","type":"bytes"}],"fullName":"Energistics.Datatypes.Object.DataObject","depends":[]},"Resource":{"type":"record","namespace":"Energistics.Datatypes.Object","name":"Resource","fields":[{"name":"uri","type":"string"},{"name":"name","type":"string"},{"name":"subscribable","type":"boolean"},{"name":"customData","type":{"type":"map","values":"string"}},{"name":"resourceType","type":"string"},{"name":"hasChildren","type":"int"}],"fullName":"Energistics.Datatypes.Object.Resource","depends":[]}}},"Domain":{"Drilling":{"TrajectoryStation":{"type":"record","namespace":"Energistics.Domain.Drilling","name":"TrajectoryStation","fields":[{"name":"uuid","type":"string"}],"fullName":"Energistics.Domain.Drilling.TrajectoryStation","depends":[]}}},"Protocol":{"ChannelDataFrame":{"ChannelDataFrame":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelDataFrame","messageType":"4","protocol":"2","fields":[{"name":"channels","type":{"type":"array","items":"int"}},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelDataFrame.DataRow"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelDataFrame","depends":["Energistics.Datatypes.ChannelDataFrame.DataRow"]},"ChannelMetadata":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"ChannelMetadata","messageType":"3","protocol":"2","fields":[{"name":"indexes","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.IndexMetadataRecord"}},{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelDataFrame.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.IndexMetadataRecord","Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},"RequestChannelData":{"type":"record","namespace":"Energistics.Protocol.ChannelDataFrame","name":"RequestChannelData","messageType":"1","protocol":"2","fields":[{"name":"uri","type":"string"},{"name":"fromIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]},{"name":"toIndex","type":["null","Energistics.Datatypes.ChannelData.IndexValue"]}],"fullName":"Energistics.Protocol.ChannelDataFrame.RequestChannelData","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue"]}},"ChannelStreaming":{"ChannelData":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelData","messageType":"3","protocol":"1","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelData","depends":["Energistics.Datatypes.ChannelData.DataItem"]},"ChannelDataChange":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDataChange","messageType":"6","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"startIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"endIndex","type":"Energistics.Datatypes.ChannelData.IndexValue"},{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.DataItem"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDataChange","depends":["Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.IndexValue","Energistics.Datatypes.ChannelData.DataItem"]},"ChannelDelete":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDelete","messageType":"8","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"deleteReason","type":["null","string"]}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDelete","depends":[]},"ChannelDescribe":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelDescribe","messageType":"1","protocol":"1","fields":[{"name":"uris","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelDescribe","depends":[]},"ChannelMetadata":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelMetadata","messageType":"2","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelMetadataRecord"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelMetadata","depends":["Energistics.Datatypes.ChannelData.ChannelMetadataRecord"]},"ChannelRangeRequest":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelRangeRequest","messageType":"9","protocol":"1","fields":[{"name":"channelRanges","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelRangeInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelRangeRequest","depends":["Energistics.Datatypes.ChannelData.ChannelRangeInfo"]},"ChannelStatusChange":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStatusChange","messageType":"10","protocol":"1","fields":[{"name":"channelId","type":"int"},{"name":"status","type":"Energistics.Datatypes.ChannelData.ChannelStatuses"}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStatusChange","depends":["Energistics.Datatypes.ChannelData.ChannelStatuses"]},"ChannelStreamingStart":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStart","messageType":"4","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"Energistics.Datatypes.ChannelData.ChannelStreamingInfo"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStart","depends":["Energistics.Datatypes.ChannelData.ChannelStreamingInfo"]},"ChannelStreamingStop":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"ChannelStreamingStop","messageType":"5","protocol":"1","fields":[{"name":"channels","type":{"type":"array","items":"int"}}],"fullName":"Energistics.Protocol.ChannelStreaming.ChannelStreamingStop","depends":[]},"Start":{"type":"record","namespace":"Energistics.Protocol.ChannelStreaming","name":"Start","messageType":"0","protocol":"1","fields":[{"name":"maxMessageRate","type":"int"},{"name":"maxDataItems","type":"int"}],"fullName":"Energistics.Protocol.ChannelStreaming.Start","depends":[]}},"Core":{"Acknowledge":{"type":"record","namespace":"Energistics.Protocol.Core","name":"Acknowledge","messageType":"1001","protocol":"0","fields":[],"fullName":"Energistics.Protocol.Core.Acknowledge","depends":[]},"CloseSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"CloseSession","messageType":"5","protocol":"0","fields":[{"name":"reason","type":["null","string"]}],"fullName":"Energistics.Protocol.Core.CloseSession","depends":[]},"OpenSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"OpenSession","messageType":"2","protocol":"0","fields":[{"name":"applicationName","type":"string"},{"name":"sessionId","type":"string"},{"name":"supportedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}}],"fullName":"Energistics.Protocol.Core.OpenSession","depends":["Energistics.Datatypes.SupportedProtocol"]},"ProtocolException":{"type":"record","namespace":"Energistics.Protocol.Core","name":"ProtocolException","messageType":"1000","protocol":"0","fields":[{"name":"errorCode","type":"int"},{"name":"errorMessage","type":"string"}],"fullName":"Energistics.Protocol.Core.ProtocolException","depends":[]},"RequestSession":{"type":"record","namespace":"Energistics.Protocol.Core","name":"RequestSession","messageType":"1","protocol":"0","fields":[{"name":"requestedProtocols","type":{"type":"array","items":"Energistics.Datatypes.SupportedProtocol"}},{"name":"applicationName","type":"string"}],"fullName":"Energistics.Protocol.Core.RequestSession","depends":["Energistics.Datatypes.SupportedProtocol"]}},"Discovery":{"GetResources":{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResources","messageType":"1","protocol":"3","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Discovery.GetResources","depends":[]},"GetResourcesResponse":{"type":"record","namespace":"Energistics.Protocol.Discovery","name":"GetResourcesResponse","messageType":"2","protocol":"3","fields":[{"name":"uri","type":"string"},{"name":"resources","type":{"type":"array","items":"Energistics.Datatypes.Object.Resource"}}],"fullName":"Energistics.Protocol.Discovery.GetResourcesResponse","depends":["Energistics.Datatypes.Object.Resource"]}},"Store":{"AddToStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"AddToStore","messageType":"1","protocol":"4","fields":[{"name":"data","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.AddToStore","depends":["Energistics.Datatypes.Object.DataObject"]},"DeleteFromStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"DeleteFromStore","messageType":"2","protocol":"4","fields":[{"name":"uri","type":{"type":"array","items":"string"}}],"fullName":"Energistics.Protocol.Store.DeleteFromStore","depends":[]},"GetFromStore":{"type":"record","namespace":"Energistics.Protocol.Store","name":"GetFromStore","messageType":"0","protocol":"4","fields":[{"name":"uri","type":"string"}],"fullName":"Energistics.Protocol.Store.GetFromStore","depends":[]},"Object":{"type":"record","namespace":"Energistics.Protocol.Store","name":"Object","messageType":"3","protocol":"4","fields":[{"name":"dataObjects","type":{"type":"array","items":"Energistics.Datatypes.Object.DataObject"}}],"fullName":"Energistics.Protocol.Store.Object","depends":["Energistics.Datatypes.Object.DataObject"]}}}}}'); | ||
module.exports=RalfSchemas; |
{ | ||
"name": "etp", | ||
"version": "1.0.7-6", | ||
"main": "lib/etp.js", | ||
"version": "2.0.1-0", | ||
"repository": { | ||
@@ -10,12 +9,13 @@ "type": "git", | ||
"devDependencies": { | ||
"optimist": "*", | ||
"browserify": "~2.13", | ||
"mocha": "~1.12", | ||
"mocha-bamboo-reporter": "*", | ||
"mocha-browser": "~0.1.1", | ||
"mocha-bamboo-reporter": "*", | ||
"optimist": "*", | ||
"should": "~1.2.2", | ||
"uglify-js": "~2.3.6", | ||
"browserify": "~2.13" | ||
"uglify-js": "~2.3.6" | ||
}, | ||
"dependencies": { | ||
"node-uuid": ">= 1.4.0" | ||
"node-uuid": ">= 1.4.0", | ||
"etp-avro": "latest" | ||
}, | ||
@@ -30,4 +30,4 @@ "directories": { | ||
"node": ">= 0.10.0", | ||
"npm": ">= 1.2.0" | ||
"npm": ">= 2.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
202
0
39
25510079
2
21158
+ Addedetp-avro@latest
+ Addedetp-avro@0.2.1-0(transitive)
+ Addedunderscore@1.13.7(transitive)