You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
71 KiB
1 lines
71 KiB
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),e}!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=e.ice||{};e.IceGrid=e.IceGrid||{},t.IceGrid=e.IceGrid;var i=Ice.Slice;!function(){i.defineDictionary(IceGrid,"StringStringDict","StringStringDictHelper","Ice.StringHelper","Ice.StringHelper",!1,void 0,void 0),IceGrid.PropertyDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.name=t,this.value=i}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeString(this.value)}},{key:"_read",value:function(e){this.name=e.readString(),this.value=e.readString()}}],[{key:"minWireSize",get:function(){return 2}}]),e}(),i.defineStruct(IceGrid.PropertyDescriptor,!0,!0),i.defineSequence(IceGrid,"PropertyDescriptorSeqHelper","IceGrid.PropertyDescriptor",!1),IceGrid.PropertySetDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;_classCallCheck(this,e),this.references=t,this.properties=i}return _createClass(e,[{key:"_write",value:function(e){Ice.StringSeqHelper.write(e,this.references),IceGrid.PropertyDescriptorSeqHelper.write(e,this.properties)}},{key:"_read",value:function(e){this.references=Ice.StringSeqHelper.read(e),this.properties=IceGrid.PropertyDescriptorSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 2}}]),e}(),i.defineStruct(IceGrid.PropertySetDescriptor,!0,!0),i.defineDictionary(IceGrid,"PropertySetDescriptorDict","PropertySetDescriptorDictHelper","Ice.StringHelper","IceGrid.PropertySetDescriptor",!1,void 0,void 0),IceGrid.ObjectDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ice.Identity,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";_classCallCheck(this,e),this.id=t,this.type=i,this.proxyOptions=r}return _createClass(e,[{key:"_write",value:function(e){Ice.Identity.write(e,this.id),e.writeString(this.type),e.writeString(this.proxyOptions)}},{key:"_read",value:function(e){this.id=Ice.Identity.read(e,this.id),this.type=e.readString(),this.proxyOptions=e.readString()}}],[{key:"minWireSize",get:function(){return 4}}]),e}(),i.defineStruct(IceGrid.ObjectDescriptor,!0,!0),i.defineSequence(IceGrid,"ObjectDescriptorSeqHelper","IceGrid.ObjectDescriptor",!1),IceGrid.AdapterDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;_classCallCheck(this,e),this.name=t,this.description=i,this.id=r,this.replicaGroupId=n,this.priority=c,this.registerProcess=o,this.serverLifetime=s,this.objects=a,this.allocatables=l}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeString(this.description),e.writeString(this.id),e.writeString(this.replicaGroupId),e.writeString(this.priority),e.writeBool(this.registerProcess),e.writeBool(this.serverLifetime),IceGrid.ObjectDescriptorSeqHelper.write(e,this.objects),IceGrid.ObjectDescriptorSeqHelper.write(e,this.allocatables)}},{key:"_read",value:function(e){this.name=e.readString(),this.description=e.readString(),this.id=e.readString(),this.replicaGroupId=e.readString(),this.priority=e.readString(),this.registerProcess=e.readBool(),this.serverLifetime=e.readBool(),this.objects=IceGrid.ObjectDescriptorSeqHelper.read(e),this.allocatables=IceGrid.ObjectDescriptorSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 9}}]),e}(),i.defineStruct(IceGrid.AdapterDescriptor,!0,!0),i.defineSequence(IceGrid,"AdapterDescriptorSeqHelper","IceGrid.AdapterDescriptor",!1),IceGrid.DbEnvDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.name=t,this.description=i,this.dbHome=r,this.properties=n}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeString(this.description),e.writeString(this.dbHome),IceGrid.PropertyDescriptorSeqHelper.write(e,this.properties)}},{key:"_read",value:function(e){this.name=e.readString(),this.description=e.readString(),this.dbHome=e.readString(),this.properties=IceGrid.PropertyDescriptorSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 4}}]),e}(),i.defineStruct(IceGrid.DbEnvDescriptor,!0,!0),i.defineSequence(IceGrid,"DbEnvDescriptorSeqHelper","IceGrid.DbEnvDescriptor",!1);IceGrid.CommunicatorDescriptor=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new IceGrid.PropertySetDescriptor,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).adapters=i,e.propertySet=r,e.dbEnvs=n,e.logs=c,e.description=o,e}return _inherits(t,Ice.Value),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){IceGrid.AdapterDescriptorSeqHelper.write(e,this.adapters),IceGrid.PropertySetDescriptor.write(e,this.propertySet),IceGrid.DbEnvDescriptorSeqHelper.write(e,this.dbEnvs),Ice.StringSeqHelper.write(e,this.logs),e.writeString(this.description)}},{key:"_iceReadMemberImpl",value:function(e){this.adapters=IceGrid.AdapterDescriptorSeqHelper.read(e),this.propertySet=IceGrid.PropertySetDescriptor.read(e,this.propertySet),this.dbEnvs=IceGrid.DbEnvDescriptorSeqHelper.read(e),this.logs=Ice.StringSeqHelper.read(e),this.description=e.readString()}}]),t}(),i.defineValue(IceGrid.CommunicatorDescriptor,"::IceGrid::CommunicatorDescriptor",!1),IceGrid.DistributionDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;_classCallCheck(this,e),this.icepatch=t,this.directories=i}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.icepatch),Ice.StringSeqHelper.write(e,this.directories)}},{key:"_read",value:function(e){this.icepatch=e.readString(),this.directories=Ice.StringSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 2}}]),e}(),i.defineStruct(IceGrid.DistributionDescriptor,!0,!0);IceGrid.ServerDescriptor=function(e){function t(e,i,r,n,c){var o,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",p=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null,h=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"",I=arguments.length>12&&void 0!==arguments[12]?arguments[12]:"",g=arguments.length>13&&void 0!==arguments[13]?arguments[13]:"",v=arguments.length>14&&void 0!==arguments[14]&&arguments[14],f=arguments.length>15&&void 0!==arguments[15]?arguments[15]:new IceGrid.DistributionDescriptor,S=arguments.length>16&&void 0!==arguments[16]&&arguments[16],y=arguments.length>17&&void 0!==arguments[17]?arguments[17]:"";return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i,r,n,c))).id=s,o.exe=a,o.iceVersion=l,o.pwd=d,o.options=p,o.envs=u,o.activation=h,o.activationTimeout=I,o.deactivationTimeout=g,o.applicationDistrib=v,o.distrib=f,o.allocatable=S,o.user=y,o}return _inherits(t,IceGrid.CommunicatorDescriptor),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeString(this.id),e.writeString(this.exe),e.writeString(this.iceVersion),e.writeString(this.pwd),Ice.StringSeqHelper.write(e,this.options),Ice.StringSeqHelper.write(e,this.envs),e.writeString(this.activation),e.writeString(this.activationTimeout),e.writeString(this.deactivationTimeout),e.writeBool(this.applicationDistrib),IceGrid.DistributionDescriptor.write(e,this.distrib),e.writeBool(this.allocatable),e.writeString(this.user)}},{key:"_iceReadMemberImpl",value:function(e){this.id=e.readString(),this.exe=e.readString(),this.iceVersion=e.readString(),this.pwd=e.readString(),this.options=Ice.StringSeqHelper.read(e),this.envs=Ice.StringSeqHelper.read(e),this.activation=e.readString(),this.activationTimeout=e.readString(),this.deactivationTimeout=e.readString(),this.applicationDistrib=e.readBool(),this.distrib=IceGrid.DistributionDescriptor.read(e,this.distrib),this.allocatable=e.readBool(),this.user=e.readString()}}]),t}(),i.defineValue(IceGrid.ServerDescriptor,"::IceGrid::ServerDescriptor",!1),i.defineSequence(IceGrid,"ServerDescriptorSeqHelper","Ice.ObjectHelper",!1,"IceGrid.ServerDescriptor");IceGrid.ServiceDescriptor=function(e){function t(e,i,r,n,c){var o,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i,r,n,c))).name=s,o.entry=a,o}return _inherits(t,IceGrid.CommunicatorDescriptor),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeString(this.name),e.writeString(this.entry)}},{key:"_iceReadMemberImpl",value:function(e){this.name=e.readString(),this.entry=e.readString()}}]),t}(),i.defineValue(IceGrid.ServiceDescriptor,"::IceGrid::ServiceDescriptor",!1),i.defineSequence(IceGrid,"ServiceDescriptorSeqHelper","Ice.ObjectHelper",!1,"IceGrid.ServiceDescriptor"),IceGrid.ServerInstanceDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new IceGrid.PropertySetDescriptor,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.template=t,this.parameterValues=i,this.propertySet=r,this.servicePropertySets=n}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.template),IceGrid.StringStringDictHelper.write(e,this.parameterValues),IceGrid.PropertySetDescriptor.write(e,this.propertySet),IceGrid.PropertySetDescriptorDictHelper.write(e,this.servicePropertySets)}},{key:"_read",value:function(e){this.template=e.readString(),this.parameterValues=IceGrid.StringStringDictHelper.read(e),this.propertySet=IceGrid.PropertySetDescriptor.read(e,this.propertySet),this.servicePropertySets=IceGrid.PropertySetDescriptorDictHelper.read(e)}}],[{key:"minWireSize",get:function(){return 5}}]),e}(),i.defineStruct(IceGrid.ServerInstanceDescriptor,!1,!0),i.defineSequence(IceGrid,"ServerInstanceDescriptorSeqHelper","IceGrid.ServerInstanceDescriptor",!1),IceGrid.TemplateDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.descriptor=t,this.parameters=i,this.parameterDefaults=r}return _createClass(e,[{key:"_write",value:function(e){e.writeValue(this.descriptor),Ice.StringSeqHelper.write(e,this.parameters),IceGrid.StringStringDictHelper.write(e,this.parameterDefaults)}},{key:"_read",value:function(e){var t=this;e.readValue(function(e){return t.descriptor=e},IceGrid.CommunicatorDescriptor),this.parameters=Ice.StringSeqHelper.read(e),this.parameterDefaults=IceGrid.StringStringDictHelper.read(e)}}],[{key:"minWireSize",get:function(){return 3}}]),e}(),i.defineStruct(IceGrid.TemplateDescriptor,!1,!0),i.defineDictionary(IceGrid,"TemplateDescriptorDict","TemplateDescriptorDictHelper","Ice.StringHelper","IceGrid.TemplateDescriptor",!1,void 0,void 0),IceGrid.ServiceInstanceDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new IceGrid.PropertySetDescriptor;_classCallCheck(this,e),this.template=t,this.parameterValues=i,this.descriptor=r,this.propertySet=n}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.template),IceGrid.StringStringDictHelper.write(e,this.parameterValues),e.writeValue(this.descriptor),IceGrid.PropertySetDescriptor.write(e,this.propertySet)}},{key:"_read",value:function(e){var t=this;this.template=e.readString(),this.parameterValues=IceGrid.StringStringDictHelper.read(e),e.readValue(function(e){return t.descriptor=e},IceGrid.ServiceDescriptor),this.propertySet=IceGrid.PropertySetDescriptor.read(e,this.propertySet)}}],[{key:"minWireSize",get:function(){return 5}}]),e}(),i.defineStruct(IceGrid.ServiceInstanceDescriptor,!1,!0),i.defineSequence(IceGrid,"ServiceInstanceDescriptorSeqHelper","IceGrid.ServiceInstanceDescriptor",!1);IceGrid.IceBoxDescriptor=function(e){function t(e,i,r,n,c,o,s,a,l,d,p,u,h,I,g,v,f,S){var y,G=arguments.length>18&&void 0!==arguments[18]?arguments[18]:null;return _classCallCheck(this,t),(y=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i,r,n,c,o,s,a,l,d,p,u,h,I,g,v,f,S))).services=G,y}return _inherits(t,IceGrid.ServerDescriptor),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){IceGrid.ServiceInstanceDescriptorSeqHelper.write(e,this.services)}},{key:"_iceReadMemberImpl",value:function(e){this.services=IceGrid.ServiceInstanceDescriptorSeqHelper.read(e)}}]),t}(),i.defineValue(IceGrid.IceBoxDescriptor,"::IceGrid::IceBoxDescriptor",!1),IceGrid.NodeDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;_classCallCheck(this,e),this.variables=t,this.serverInstances=i,this.servers=r,this.loadFactor=n,this.description=c,this.propertySets=o}return _createClass(e,[{key:"_write",value:function(e){IceGrid.StringStringDictHelper.write(e,this.variables),IceGrid.ServerInstanceDescriptorSeqHelper.write(e,this.serverInstances),IceGrid.ServerDescriptorSeqHelper.write(e,this.servers),e.writeString(this.loadFactor),e.writeString(this.description),IceGrid.PropertySetDescriptorDictHelper.write(e,this.propertySets)}},{key:"_read",value:function(e){this.variables=IceGrid.StringStringDictHelper.read(e),this.serverInstances=IceGrid.ServerInstanceDescriptorSeqHelper.read(e),this.servers=IceGrid.ServerDescriptorSeqHelper.read(e),this.loadFactor=e.readString(),this.description=e.readString(),this.propertySets=IceGrid.PropertySetDescriptorDictHelper.read(e)}}],[{key:"minWireSize",get:function(){return 6}}]),e}(),i.defineStruct(IceGrid.NodeDescriptor,!1,!0),i.defineDictionary(IceGrid,"NodeDescriptorDict","NodeDescriptorDictHelper","Ice.StringHelper","IceGrid.NodeDescriptor",!1,void 0,void 0);IceGrid.LoadBalancingPolicy=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).nReplicas=i,e}return _inherits(t,Ice.Value),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeString(this.nReplicas)}},{key:"_iceReadMemberImpl",value:function(e){this.nReplicas=e.readString()}}]),t}(),i.defineValue(IceGrid.LoadBalancingPolicy,"::IceGrid::LoadBalancingPolicy",!1);IceGrid.RandomLoadBalancingPolicy=function(e){function t(e){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))}return _inherits(t,IceGrid.LoadBalancingPolicy),t}(),i.defineValue(IceGrid.RandomLoadBalancingPolicy,"::IceGrid::RandomLoadBalancingPolicy",!1);IceGrid.OrderedLoadBalancingPolicy=function(e){function t(e){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))}return _inherits(t,IceGrid.LoadBalancingPolicy),t}(),i.defineValue(IceGrid.OrderedLoadBalancingPolicy,"::IceGrid::OrderedLoadBalancingPolicy",!1);IceGrid.RoundRobinLoadBalancingPolicy=function(e){function t(e){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))}return _inherits(t,IceGrid.LoadBalancingPolicy),t}(),i.defineValue(IceGrid.RoundRobinLoadBalancingPolicy,"::IceGrid::RoundRobinLoadBalancingPolicy",!1);IceGrid.AdaptiveLoadBalancingPolicy=function(e){function t(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).loadSample=r,i}return _inherits(t,IceGrid.LoadBalancingPolicy),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeString(this.loadSample)}},{key:"_iceReadMemberImpl",value:function(e){this.loadSample=e.readString()}}]),t}(),i.defineValue(IceGrid.AdaptiveLoadBalancingPolicy,"::IceGrid::AdaptiveLoadBalancingPolicy",!1),IceGrid.ReplicaGroupDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";_classCallCheck(this,e),this.id=t,this.loadBalancing=i,this.proxyOptions=r,this.objects=n,this.description=c,this.filter=o}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.id),e.writeValue(this.loadBalancing),e.writeString(this.proxyOptions),IceGrid.ObjectDescriptorSeqHelper.write(e,this.objects),e.writeString(this.description),e.writeString(this.filter)}},{key:"_read",value:function(e){var t=this;this.id=e.readString(),e.readValue(function(e){return t.loadBalancing=e},IceGrid.LoadBalancingPolicy),this.proxyOptions=e.readString(),this.objects=IceGrid.ObjectDescriptorSeqHelper.read(e),this.description=e.readString(),this.filter=e.readString()}}],[{key:"minWireSize",get:function(){return 6}}]),e}(),i.defineStruct(IceGrid.ReplicaGroupDescriptor,!1,!0),i.defineSequence(IceGrid,"ReplicaGroupDescriptorSeqHelper","IceGrid.ReplicaGroupDescriptor",!1),IceGrid.ApplicationDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new IceGrid.DistributionDescriptor,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;_classCallCheck(this,e),this.name=t,this.variables=i,this.replicaGroups=r,this.serverTemplates=n,this.serviceTemplates=c,this.nodes=o,this.distrib=s,this.description=a,this.propertySets=l}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),IceGrid.StringStringDictHelper.write(e,this.variables),IceGrid.ReplicaGroupDescriptorSeqHelper.write(e,this.replicaGroups),IceGrid.TemplateDescriptorDictHelper.write(e,this.serverTemplates),IceGrid.TemplateDescriptorDictHelper.write(e,this.serviceTemplates),IceGrid.NodeDescriptorDictHelper.write(e,this.nodes),IceGrid.DistributionDescriptor.write(e,this.distrib),e.writeString(this.description),IceGrid.PropertySetDescriptorDictHelper.write(e,this.propertySets)}},{key:"_read",value:function(e){this.name=e.readString(),this.variables=IceGrid.StringStringDictHelper.read(e),this.replicaGroups=IceGrid.ReplicaGroupDescriptorSeqHelper.read(e),this.serverTemplates=IceGrid.TemplateDescriptorDictHelper.read(e),this.serviceTemplates=IceGrid.TemplateDescriptorDictHelper.read(e),this.nodes=IceGrid.NodeDescriptorDictHelper.read(e),this.distrib=IceGrid.DistributionDescriptor.read(e,this.distrib),this.description=e.readString(),this.propertySets=IceGrid.PropertySetDescriptorDictHelper.read(e)}}],[{key:"minWireSize",get:function(){return 10}}]),e}(),i.defineStruct(IceGrid.ApplicationDescriptor,!1,!0),i.defineSequence(IceGrid,"ApplicationDescriptorSeqHelper","IceGrid.ApplicationDescriptor",!1);IceGrid.BoxedString=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).value=i,e}return _inherits(t,Ice.Value),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeString(this.value)}},{key:"_iceReadMemberImpl",value:function(e){this.value=e.readString()}}]),t}(),i.defineValue(IceGrid.BoxedString,"::IceGrid::BoxedString",!1),IceGrid.NodeUpdateDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;_classCallCheck(this,e),this.name=t,this.description=i,this.variables=r,this.removeVariables=n,this.propertySets=c,this.removePropertySets=o,this.serverInstances=s,this.servers=a,this.removeServers=l,this.loadFactor=d}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeValue(this.description),IceGrid.StringStringDictHelper.write(e,this.variables),Ice.StringSeqHelper.write(e,this.removeVariables),IceGrid.PropertySetDescriptorDictHelper.write(e,this.propertySets),Ice.StringSeqHelper.write(e,this.removePropertySets),IceGrid.ServerInstanceDescriptorSeqHelper.write(e,this.serverInstances),IceGrid.ServerDescriptorSeqHelper.write(e,this.servers),Ice.StringSeqHelper.write(e,this.removeServers),e.writeValue(this.loadFactor)}},{key:"_read",value:function(e){var t=this;this.name=e.readString(),e.readValue(function(e){return t.description=e},IceGrid.BoxedString),this.variables=IceGrid.StringStringDictHelper.read(e),this.removeVariables=Ice.StringSeqHelper.read(e),this.propertySets=IceGrid.PropertySetDescriptorDictHelper.read(e),this.removePropertySets=Ice.StringSeqHelper.read(e),this.serverInstances=IceGrid.ServerInstanceDescriptorSeqHelper.read(e),this.servers=IceGrid.ServerDescriptorSeqHelper.read(e),this.removeServers=Ice.StringSeqHelper.read(e),e.readValue(function(e){return t.loadFactor=e},IceGrid.BoxedString)}}],[{key:"minWireSize",get:function(){return 10}}]),e}(),i.defineStruct(IceGrid.NodeUpdateDescriptor,!1,!0),i.defineSequence(IceGrid,"NodeUpdateDescriptorSeqHelper","IceGrid.NodeUpdateDescriptor",!1);IceGrid.BoxedDistributionDescriptor=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new IceGrid.DistributionDescriptor;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).value=i,e}return _inherits(t,Ice.Value),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){IceGrid.DistributionDescriptor.write(e,this.value)}},{key:"_iceReadMemberImpl",value:function(e){this.value=IceGrid.DistributionDescriptor.read(e,this.value)}}]),t}(),i.defineValue(IceGrid.BoxedDistributionDescriptor,"::IceGrid::BoxedDistributionDescriptor",!1),IceGrid.ApplicationUpdateDescriptor=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,p=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null,u=arguments.length>11&&void 0!==arguments[11]?arguments[11]:null,h=arguments.length>12&&void 0!==arguments[12]?arguments[12]:null,I=arguments.length>13&&void 0!==arguments[13]?arguments[13]:null,g=arguments.length>14&&void 0!==arguments[14]?arguments[14]:null;_classCallCheck(this,e),this.name=t,this.description=i,this.distrib=r,this.variables=n,this.removeVariables=c,this.propertySets=o,this.removePropertySets=s,this.replicaGroups=a,this.removeReplicaGroups=l,this.serverTemplates=d,this.removeServerTemplates=p,this.serviceTemplates=u,this.removeServiceTemplates=h,this.nodes=I,this.removeNodes=g}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeValue(this.description),e.writeValue(this.distrib),IceGrid.StringStringDictHelper.write(e,this.variables),Ice.StringSeqHelper.write(e,this.removeVariables),IceGrid.PropertySetDescriptorDictHelper.write(e,this.propertySets),Ice.StringSeqHelper.write(e,this.removePropertySets),IceGrid.ReplicaGroupDescriptorSeqHelper.write(e,this.replicaGroups),Ice.StringSeqHelper.write(e,this.removeReplicaGroups),IceGrid.TemplateDescriptorDictHelper.write(e,this.serverTemplates),Ice.StringSeqHelper.write(e,this.removeServerTemplates),IceGrid.TemplateDescriptorDictHelper.write(e,this.serviceTemplates),Ice.StringSeqHelper.write(e,this.removeServiceTemplates),IceGrid.NodeUpdateDescriptorSeqHelper.write(e,this.nodes),Ice.StringSeqHelper.write(e,this.removeNodes)}},{key:"_read",value:function(e){var t=this;this.name=e.readString(),e.readValue(function(e){return t.description=e},IceGrid.BoxedString),e.readValue(function(e){return t.distrib=e},IceGrid.BoxedDistributionDescriptor),this.variables=IceGrid.StringStringDictHelper.read(e),this.removeVariables=Ice.StringSeqHelper.read(e),this.propertySets=IceGrid.PropertySetDescriptorDictHelper.read(e),this.removePropertySets=Ice.StringSeqHelper.read(e),this.replicaGroups=IceGrid.ReplicaGroupDescriptorSeqHelper.read(e),this.removeReplicaGroups=Ice.StringSeqHelper.read(e),this.serverTemplates=IceGrid.TemplateDescriptorDictHelper.read(e),this.removeServerTemplates=Ice.StringSeqHelper.read(e),this.serviceTemplates=IceGrid.TemplateDescriptorDictHelper.read(e),this.removeServiceTemplates=Ice.StringSeqHelper.read(e),this.nodes=IceGrid.NodeUpdateDescriptorSeqHelper.read(e),this.removeNodes=Ice.StringSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 15}}]),e}(),i.defineStruct(IceGrid.ApplicationUpdateDescriptor,!1,!0)}(),IceGrid.ApplicationNotExistException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).name=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ApplicationNotExistException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ApplicationNotExistException"}}]),t}(),IceGrid.ServerNotExistException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).id=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ServerNotExistException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.id)}},{key:"_readMemberImpl",value:function(e){this.id=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ServerNotExistException"}}]),t}(),IceGrid.ServerStartException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).id=i,e.reason=r,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ServerStartException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.id),e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.id=e.readString(),this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ServerStartException"}}]),t}(),IceGrid.ServerStopException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).id=i,e.reason=r,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ServerStopException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.id),e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.id=e.readString(),this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ServerStopException"}}]),t}(),IceGrid.AdapterNotExistException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).id=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.AdapterNotExistException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.id)}},{key:"_readMemberImpl",value:function(e){this.id=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::AdapterNotExistException"}}]),t}(),IceGrid.ObjectExistsException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ice.Identity,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).id=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ObjectExistsException}},{key:"_writeMemberImpl",value:function(e){Ice.Identity.write(e,this.id)}},{key:"_readMemberImpl",value:function(e){this.id=Ice.Identity.read(e,this.id)}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ObjectExistsException"}}]),t}(),IceGrid.ObjectNotRegisteredException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ice.Identity,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).id=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ObjectNotRegisteredException}},{key:"_writeMemberImpl",value:function(e){Ice.Identity.write(e,this.id)}},{key:"_readMemberImpl",value:function(e){this.id=Ice.Identity.read(e,this.id)}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ObjectNotRegisteredException"}}]),t}(),IceGrid.NodeNotExistException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).name=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.NodeNotExistException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::NodeNotExistException"}}]),t}(),IceGrid.RegistryNotExistException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).name=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.RegistryNotExistException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::RegistryNotExistException"}}]),t}(),IceGrid.DeploymentException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.DeploymentException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::DeploymentException"}}]),t}(),IceGrid.NodeUnreachableException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).name=i,e.reason=r,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.NodeUnreachableException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name),e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString(),this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::NodeUnreachableException"}}]),t}(),IceGrid.ServerUnreachableException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).name=i,e.reason=r,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ServerUnreachableException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name),e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString(),this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ServerUnreachableException"}}]),t}(),IceGrid.RegistryUnreachableException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).name=i,e.reason=r,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.RegistryUnreachableException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.name),e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.name=e.readString(),this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::RegistryUnreachableException"}}]),t}(),IceGrid.BadSignalException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.BadSignalException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::BadSignalException"}}]),t}(),IceGrid.PatchException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reasons=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.PatchException}},{key:"_writeMemberImpl",value:function(e){Ice.StringSeqHelper.write(e,this.reasons)}},{key:"_readMemberImpl",value:function(e){this.reasons=Ice.StringSeqHelper.read(e)}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::PatchException"}}]),t}(),IceGrid.AccessDeniedException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).lockUserId=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.AccessDeniedException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.lockUserId)}},{key:"_readMemberImpl",value:function(e){this.lockUserId=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::AccessDeniedException"}}]),t}(),IceGrid.AllocationException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.AllocationException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::AllocationException"}}]),t}(),IceGrid.AllocationTimeoutException=function(e){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i))}return _inherits(t,IceGrid.AllocationException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.AllocationTimeoutException}}],[{key:"_parent",get:function(){return IceGrid.AllocationException}},{key:"_id",get:function(){return"::IceGrid::AllocationTimeoutException"}}]),t}(),IceGrid.PermissionDeniedException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.PermissionDeniedException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::PermissionDeniedException"}}]),t}(),IceGrid.ObserverAlreadyRegisteredException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ice.Identity,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).id=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ObserverAlreadyRegisteredException}},{key:"_writeMemberImpl",value:function(e){Ice.Identity.write(e,this.id)}},{key:"_readMemberImpl",value:function(e){this.id=Ice.Identity.read(e,this.id)}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ObserverAlreadyRegisteredException"}}]),t}(),IceGrid.FileNotAvailableException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.FileNotAvailableException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::FileNotAvailableException"}}]),t}(),function(){IceGrid.ServerState=i.defineEnum([["Inactive",0],["Activating",1],["ActivationTimedOut",2],["Active",3],["Deactivating",4],["Destroying",5],["Destroyed",6]]),i.defineDictionary(IceGrid,"StringObjectProxyDict","StringObjectProxyDictHelper","Ice.StringHelper","Ice.ObjectPrx",!1,void 0,void 0),IceGrid.ObjectInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.proxy=t,this.type=i}return _createClass(e,[{key:"_write",value:function(e){e.writeProxy(this.proxy),e.writeString(this.type)}},{key:"_read",value:function(e){this.proxy=e.readProxy(),this.type=e.readString()}}],[{key:"minWireSize",get:function(){return 3}}]),e}(),i.defineStruct(IceGrid.ObjectInfo,!1,!0),i.defineSequence(IceGrid,"ObjectInfoSeqHelper","IceGrid.ObjectInfo",!1),IceGrid.AdapterInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";_classCallCheck(this,e),this.id=t,this.proxy=i,this.replicaGroupId=r}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.id),e.writeProxy(this.proxy),e.writeString(this.replicaGroupId)}},{key:"_read",value:function(e){this.id=e.readString(),this.proxy=e.readProxy(),this.replicaGroupId=e.readString()}}],[{key:"minWireSize",get:function(){return 4}}]),e}(),i.defineStruct(IceGrid.AdapterInfo,!1,!0),i.defineSequence(IceGrid,"AdapterInfoSeqHelper","IceGrid.AdapterInfo",!1),IceGrid.ServerInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";_classCallCheck(this,e),this.application=t,this.uuid=i,this.revision=r,this.node=n,this.descriptor=c,this.sessionId=o}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.application),e.writeString(this.uuid),e.writeInt(this.revision),e.writeString(this.node),e.writeValue(this.descriptor),e.writeString(this.sessionId)}},{key:"_read",value:function(e){var t=this;this.application=e.readString(),this.uuid=e.readString(),this.revision=e.readInt(),this.node=e.readString(),e.readValue(function(e){return t.descriptor=e},IceGrid.ServerDescriptor),this.sessionId=e.readString()}}],[{key:"minWireSize",get:function(){return 9}}]),e}(),i.defineStruct(IceGrid.ServerInfo,!1,!0),IceGrid.NodeInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"";_classCallCheck(this,e),this.name=t,this.os=i,this.hostname=r,this.release=n,this.version=c,this.machine=o,this.nProcessors=s,this.dataDir=a}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeString(this.os),e.writeString(this.hostname),e.writeString(this.release),e.writeString(this.version),e.writeString(this.machine),e.writeInt(this.nProcessors),e.writeString(this.dataDir)}},{key:"_read",value:function(e){this.name=e.readString(),this.os=e.readString(),this.hostname=e.readString(),this.release=e.readString(),this.version=e.readString(),this.machine=e.readString(),this.nProcessors=e.readInt(),this.dataDir=e.readString()}}],[{key:"minWireSize",get:function(){return 11}}]),e}(),i.defineStruct(IceGrid.NodeInfo,!0,!0),IceGrid.RegistryInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.name=t,this.hostname=i}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.name),e.writeString(this.hostname)}},{key:"_read",value:function(e){this.name=e.readString(),this.hostname=e.readString()}}],[{key:"minWireSize",get:function(){return 2}}]),e}(),i.defineStruct(IceGrid.RegistryInfo,!0,!0),i.defineSequence(IceGrid,"RegistryInfoSeqHelper","IceGrid.RegistryInfo",!1),IceGrid.LoadInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_classCallCheck(this,e),this.avg1=t,this.avg5=i,this.avg15=r}return _createClass(e,[{key:"_write",value:function(e){e.writeFloat(this.avg1),e.writeFloat(this.avg5),e.writeFloat(this.avg15)}},{key:"_read",value:function(e){this.avg1=e.readFloat(),this.avg5=e.readFloat(),this.avg15=e.readFloat()}}],[{key:"minWireSize",get:function(){return 12}}]),e}(),i.defineStruct(IceGrid.LoadInfo,!1,!1),IceGrid.ApplicationInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Ice.Long(0,0),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Ice.Long(0,0),c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new IceGrid.ApplicationDescriptor;_classCallCheck(this,e),this.uuid=t,this.createTime=i,this.createUser=r,this.updateTime=n,this.updateUser=c,this.revision=o,this.descriptor=s}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.uuid),e.writeLong(this.createTime),e.writeString(this.createUser),e.writeLong(this.updateTime),e.writeString(this.updateUser),e.writeInt(this.revision),IceGrid.ApplicationDescriptor.write(e,this.descriptor)}},{key:"_read",value:function(e){this.uuid=e.readString(),this.createTime=e.readLong(),this.createUser=e.readString(),this.updateTime=e.readLong(),this.updateUser=e.readString(),this.revision=e.readInt(),this.descriptor=IceGrid.ApplicationDescriptor.read(e,this.descriptor)}}],[{key:"minWireSize",get:function(){return 33}}]),e}(),i.defineStruct(IceGrid.ApplicationInfo,!1,!0),i.defineSequence(IceGrid,"ApplicationInfoSeqHelper","IceGrid.ApplicationInfo",!1),IceGrid.ApplicationUpdateInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Ice.Long(0,0),i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new IceGrid.ApplicationUpdateDescriptor;_classCallCheck(this,e),this.updateTime=t,this.updateUser=i,this.revision=r,this.descriptor=n}return _createClass(e,[{key:"_write",value:function(e){e.writeLong(this.updateTime),e.writeString(this.updateUser),e.writeInt(this.revision),IceGrid.ApplicationUpdateDescriptor.write(e,this.descriptor)}},{key:"_read",value:function(e){this.updateTime=e.readLong(),this.updateUser=e.readString(),this.revision=e.readInt(),this.descriptor=IceGrid.ApplicationUpdateDescriptor.read(e,this.descriptor)}}],[{key:"minWireSize",get:function(){return 28}}]),e}(),i.defineStruct(IceGrid.ApplicationUpdateInfo,!1,!0);IceGrid.Admin=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.AdminPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.Admin,IceGrid.AdminPrx,["::Ice::Object","::IceGrid::Admin"],1,{addApplication:[,,,,,[[IceGrid.ApplicationDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.DeploymentException],!0],syncApplication:[,,,,,[[IceGrid.ApplicationDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],!0],updateApplication:[,,,,,[[IceGrid.ApplicationUpdateDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],!0],syncApplicationWithoutRestart:[,,,,,[[IceGrid.ApplicationDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],!0],updateApplicationWithoutRestart:[,,,,,[[IceGrid.ApplicationUpdateDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],!0],removeApplication:[,,,,,[[7]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],,],instantiateServer:[,,,,,[[7],[7],[IceGrid.ServerInstanceDescriptor]],,[IceGrid.AccessDeniedException,IceGrid.ApplicationNotExistException,IceGrid.DeploymentException],,],patchApplication:[,,,,,[[7],[1]],,[IceGrid.ApplicationNotExistException,IceGrid.PatchException],,],getApplicationInfo:[,2,1,,[IceGrid.ApplicationInfo],[[7]],,[IceGrid.ApplicationNotExistException],,!0],getDefaultApplicationDescriptor:[,2,1,,[IceGrid.ApplicationDescriptor],,,[IceGrid.DeploymentException],,!0],getAllApplicationNames:[,2,1,,["Ice.StringSeqHelper"],,,,,],getServerInfo:[,2,1,,[IceGrid.ServerInfo],[[7]],,[IceGrid.ServerNotExistException],,!0],getServerState:[,2,1,,[IceGrid.ServerState._helper],[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],getServerPid:[,2,1,,[3],[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],getServerAdminCategory:[,2,2,,[7],,,,,],getServerAdmin:[,2,2,,[9],[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],enableServer:[,2,2,,,[[7],[1]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],isServerEnabled:[,2,1,,[1],[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],startServer:[,,,,,[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException,IceGrid.ServerStartException],,],stopServer:[,,,,,[[7]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException,IceGrid.ServerStopException],,],patchServer:[,,,,,[[7],[1]],,[IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.PatchException,IceGrid.ServerNotExistException],,],sendSignal:[,,,,,[[7],[7]],,[IceGrid.BadSignalException,IceGrid.DeploymentException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],getAllServerIds:[,2,1,,["Ice.StringSeqHelper"],,,,,],getAdapterInfo:[,2,1,,["IceGrid.AdapterInfoSeqHelper"],[[7]],,[IceGrid.AdapterNotExistException],,],removeAdapter:[,,,,,[[7]],,[IceGrid.AdapterNotExistException,IceGrid.DeploymentException],,],getAllAdapterIds:[,2,1,,["Ice.StringSeqHelper"],,,,,],addObject:[,,,,,[[9]],,[IceGrid.DeploymentException,IceGrid.ObjectExistsException],,],updateObject:[,,,,,[[9]],,[IceGrid.DeploymentException,IceGrid.ObjectNotRegisteredException],,],addObjectWithType:[,,,,,[[9],[7]],,[IceGrid.DeploymentException,IceGrid.ObjectExistsException],,],removeObject:[,,,,,[[Ice.Identity]],,[IceGrid.DeploymentException,IceGrid.ObjectNotRegisteredException],,],getObjectInfo:[,2,1,,[IceGrid.ObjectInfo],[[Ice.Identity]],,[IceGrid.ObjectNotRegisteredException],,],getObjectInfosByType:[,2,1,,["IceGrid.ObjectInfoSeqHelper"],[[7]],,,,],getAllObjectInfos:[,2,1,,["IceGrid.ObjectInfoSeqHelper"],[[7]],,,,],pingNode:[,2,1,,[1],[[7]],,[IceGrid.NodeNotExistException],,],getNodeLoad:[,2,1,,[IceGrid.LoadInfo],[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],getNodeInfo:[,2,1,,[IceGrid.NodeInfo],[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],getNodeAdmin:[,2,2,,[9],[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],getNodeProcessorSocketCount:[,2,1,,[3],[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],shutdownNode:[,,,,,[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],getNodeHostname:[,2,1,,[7],[[7]],,[IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],getAllNodeNames:[,2,1,,["Ice.StringSeqHelper"],,,,,],pingRegistry:[,2,2,,[1],[[7]],,[IceGrid.RegistryNotExistException],,],getRegistryInfo:[,2,2,,[IceGrid.RegistryInfo],[[7]],,[IceGrid.RegistryNotExistException,IceGrid.RegistryUnreachableException],,],getRegistryAdmin:[,2,2,,[9],[[7]],,[IceGrid.RegistryNotExistException],,],shutdownRegistry:[,2,2,,,[[7]],,[IceGrid.RegistryNotExistException,IceGrid.RegistryUnreachableException],,],getAllRegistryNames:[,2,2,,["Ice.StringSeqHelper"],,,,,],shutdown:[,,,,,,,,,],getSliceChecksums:[,2,1,,["Ice.SliceChecksumDictHelper"],,,,,]});IceGrid.FileIterator=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.FileIteratorPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.FileIterator,IceGrid.FileIteratorPrx,["::Ice::Object","::IceGrid::FileIterator"],1,{read:[,,,,[1],[[3]],[["Ice.StringSeqHelper"]],[IceGrid.FileNotAvailableException],,],destroy:[,,,,,,,,,]}),IceGrid.ServerDynamicInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IceGrid.ServerState.Inactive,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];_classCallCheck(this,e),this.id=t,this.state=i,this.pid=r,this.enabled=n}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.id),IceGrid.ServerState._write(e,this.state),e.writeInt(this.pid),e.writeBool(this.enabled)}},{key:"_read",value:function(e){this.id=e.readString(),this.state=IceGrid.ServerState._read(e),this.pid=e.readInt(),this.enabled=e.readBool()}}],[{key:"minWireSize",get:function(){return 7}}]),e}(),i.defineStruct(IceGrid.ServerDynamicInfo,!0,!0),i.defineSequence(IceGrid,"ServerDynamicInfoSeqHelper","IceGrid.ServerDynamicInfo",!1),IceGrid.AdapterDynamicInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;_classCallCheck(this,e),this.id=t,this.proxy=i}return _createClass(e,[{key:"_write",value:function(e){e.writeString(this.id),e.writeProxy(this.proxy)}},{key:"_read",value:function(e){this.id=e.readString(),this.proxy=e.readProxy()}}],[{key:"minWireSize",get:function(){return 3}}]),e}(),i.defineStruct(IceGrid.AdapterDynamicInfo,!1,!0),i.defineSequence(IceGrid,"AdapterDynamicInfoSeqHelper","IceGrid.AdapterDynamicInfo",!1),IceGrid.NodeDynamicInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new IceGrid.NodeInfo,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.info=t,this.servers=i,this.adapters=r}return _createClass(e,[{key:"_write",value:function(e){IceGrid.NodeInfo.write(e,this.info),IceGrid.ServerDynamicInfoSeqHelper.write(e,this.servers),IceGrid.AdapterDynamicInfoSeqHelper.write(e,this.adapters)}},{key:"_read",value:function(e){this.info=IceGrid.NodeInfo.read(e,this.info),this.servers=IceGrid.ServerDynamicInfoSeqHelper.read(e),this.adapters=IceGrid.AdapterDynamicInfoSeqHelper.read(e)}}],[{key:"minWireSize",get:function(){return 13}}]),e}(),i.defineStruct(IceGrid.NodeDynamicInfo,!1,!0);IceGrid.RegistryObserver=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.RegistryObserverPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.RegistryObserver,IceGrid.RegistryObserverPrx,["::Ice::Object","::IceGrid::RegistryObserver"],1,{registryInit:[,,,,,[["IceGrid.RegistryInfoSeqHelper"]],,,,],registryUp:[,,,,,[[IceGrid.RegistryInfo]],,,,],registryDown:[,,,,,[[7]],,,,]}),i.defineSequence(IceGrid,"NodeDynamicInfoSeqHelper","IceGrid.NodeDynamicInfo",!1);IceGrid.NodeObserver=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.NodeObserverPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.NodeObserver,IceGrid.NodeObserverPrx,["::Ice::Object","::IceGrid::NodeObserver"],1,{nodeInit:[,,,,,[["IceGrid.NodeDynamicInfoSeqHelper"]],,,,],nodeUp:[,,,,,[[IceGrid.NodeDynamicInfo]],,,,],nodeDown:[,,,,,[[7]],,,,],updateServer:[,,,,,[[7],[IceGrid.ServerDynamicInfo]],,,,],updateAdapter:[,,,,,[[7],[IceGrid.AdapterDynamicInfo]],,,,]});IceGrid.ApplicationObserver=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.ApplicationObserverPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.ApplicationObserver,IceGrid.ApplicationObserverPrx,["::Ice::Object","::IceGrid::ApplicationObserver"],1,{applicationInit:[,,,,,[[3],["IceGrid.ApplicationInfoSeqHelper"]],,,!0],applicationAdded:[,,,,,[[3],[IceGrid.ApplicationInfo]],,,!0],applicationRemoved:[,,,,,[[3],[7]],,,,],applicationUpdated:[,,,,,[[3],[IceGrid.ApplicationUpdateInfo]],,,!0]});IceGrid.AdapterObserver=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.AdapterObserverPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.AdapterObserver,IceGrid.AdapterObserverPrx,["::Ice::Object","::IceGrid::AdapterObserver"],1,{adapterInit:[,,,,,[["IceGrid.AdapterInfoSeqHelper"]],,,,],adapterAdded:[,,,,,[[IceGrid.AdapterInfo]],,,,],adapterUpdated:[,,,,,[[IceGrid.AdapterInfo]],,,,],adapterRemoved:[,,,,,[[7]],,,,]});IceGrid.ObjectObserver=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.ObjectObserverPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.ObjectObserver,IceGrid.ObjectObserverPrx,["::Ice::Object","::IceGrid::ObjectObserver"],1,{objectInit:[,,,,,[["IceGrid.ObjectInfoSeqHelper"]],,,,],objectAdded:[,,,,,[[IceGrid.ObjectInfo]],,,,],objectUpdated:[,,,,,[[IceGrid.ObjectInfo]],,,,],objectRemoved:[,,,,,[[Ice.Identity]],,,,]});IceGrid.AdminSession=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),_createClass(t,null,[{key:"_iceImplements",get:function(){return[Glacier2.Session]}}]),t}(),IceGrid.AdminSessionPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),_createClass(t,null,[{key:"_implements",get:function(){return[Glacier2.SessionPrx]}}]),t}(),i.defineOperations(IceGrid.AdminSession,IceGrid.AdminSessionPrx,["::Glacier2::Session","::Ice::Object","::IceGrid::AdminSession"],2,{keepAlive:[,2,2,,,,,,,],getAdmin:[,2,1,,["IceGrid.AdminPrx"],,,,,],getAdminCallbackTemplate:[,2,2,,[9],,,,,],setObservers:[,2,2,,,[["IceGrid.RegistryObserverPrx"],["IceGrid.NodeObserverPrx"],["IceGrid.ApplicationObserverPrx"],["IceGrid.AdapterObserverPrx"],["IceGrid.ObjectObserverPrx"]],,[IceGrid.ObserverAlreadyRegisteredException],,],setObserversByIdentity:[,2,2,,,[[Ice.Identity],[Ice.Identity],[Ice.Identity],[Ice.Identity],[Ice.Identity]],,[IceGrid.ObserverAlreadyRegisteredException],,],startUpdate:[,,,,[3],,,[IceGrid.AccessDeniedException],,],finishUpdate:[,,,,,,,[IceGrid.AccessDeniedException],,],getReplicaName:[,2,2,,[7],,,,,],openServerLog:[,,,,["IceGrid.FileIteratorPrx"],[[7],[7],[3]],,[IceGrid.DeploymentException,IceGrid.FileNotAvailableException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],openServerStdErr:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.DeploymentException,IceGrid.FileNotAvailableException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],openServerStdOut:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.DeploymentException,IceGrid.FileNotAvailableException,IceGrid.NodeUnreachableException,IceGrid.ServerNotExistException],,],openNodeStdErr:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.FileNotAvailableException,IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],openNodeStdOut:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.FileNotAvailableException,IceGrid.NodeNotExistException,IceGrid.NodeUnreachableException],,],openRegistryStdErr:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.FileNotAvailableException,IceGrid.RegistryNotExistException,IceGrid.RegistryUnreachableException],,],openRegistryStdOut:[,,,,["IceGrid.FileIteratorPrx"],[[7],[3]],,[IceGrid.FileNotAvailableException,IceGrid.RegistryNotExistException,IceGrid.RegistryUnreachableException],,]})}(),function(){IceGrid.ParseException=function(e){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,r))).reason=i,e}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.ParseException}},{key:"_writeMemberImpl",value:function(e){e.writeString(this.reason)}},{key:"_readMemberImpl",value:function(e){this.reason=e.readString()}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::ParseException"}}]),t}();IceGrid.FileParser=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.FileParserPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.FileParser,IceGrid.FileParserPrx,["::Ice::Object","::IceGrid::FileParser"],1,{parse:[,2,2,,[IceGrid.ApplicationDescriptor],[[7],["IceGrid.AdminPrx"]],,[IceGrid.ParseException],,!0]})}(),IceGrid.Session=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),_createClass(t,null,[{key:"_iceImplements",get:function(){return[Glacier2.Session]}}]),t}(),IceGrid.SessionPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),_createClass(t,null,[{key:"_implements",get:function(){return[Glacier2.SessionPrx]}}]),t}(),i.defineOperations(IceGrid.Session,IceGrid.SessionPrx,["::Glacier2::Session","::Ice::Object","::IceGrid::Session"],2,{keepAlive:[,2,2,,,,,,,],allocateObjectById:[,,,,[9],[[Ice.Identity]],,[IceGrid.AllocationException,IceGrid.ObjectNotRegisteredException],,],allocateObjectByType:[,,,,[9],[[7]],,[IceGrid.AllocationException],,],releaseObject:[,,,,,[[Ice.Identity]],,[IceGrid.AllocationException,IceGrid.ObjectNotRegisteredException],,],setAllocationTimeout:[,2,2,,,[[3]],,,,]}),function(){IceGrid.LoadSample=i.defineEnum([["LoadSample1",0],["LoadSample5",1],["LoadSample15",2]]);IceGrid.Query=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.QueryPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.Query,IceGrid.QueryPrx,["::Ice::Object","::IceGrid::Query"],1,{findObjectById:[,2,1,,[9],[[Ice.Identity]],,,,],findObjectByType:[,2,1,,[9],[[7]],,,,],findObjectByTypeOnLeastLoadedNode:[,2,1,,[9],[[7],[IceGrid.LoadSample._helper]],,,,],findAllObjectsByType:[,2,1,,["Ice.ObjectProxySeqHelper"],[[7]],,,,],findAllReplicas:[,2,2,,["Ice.ObjectProxySeqHelper"],[[9]],,,,]});IceGrid.Registry=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.RegistryPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.Registry,IceGrid.RegistryPrx,["::Ice::Object","::IceGrid::Registry"],1,{createSession:[,,,,["IceGrid.SessionPrx"],[[7],[7]],,[IceGrid.PermissionDeniedException],,],createAdminSession:[,,,,["IceGrid.AdminSessionPrx"],[[7],[7]],,[IceGrid.PermissionDeniedException],,],createSessionFromSecureConnection:[,,,,["IceGrid.SessionPrx"],,,[IceGrid.PermissionDeniedException],,],createAdminSessionFromSecureConnection:[,,,,["IceGrid.AdminSessionPrx"],,,[IceGrid.PermissionDeniedException],,],getSessionTimeout:[,2,1,,[3],,,,,],getACMTimeout:[,2,1,,[3],,,,,]});IceGrid.Locator=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),_createClass(t,null,[{key:"_iceImplements",get:function(){return[Ice.Locator]}}]),t}(),IceGrid.LocatorPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),_createClass(t,null,[{key:"_implements",get:function(){return[Ice.LocatorPrx]}}]),t}(),i.defineOperations(IceGrid.Locator,IceGrid.LocatorPrx,["::Ice::Locator","::Ice::Object","::IceGrid::Locator"],2,{getLocalRegistry:[,2,2,,["IceGrid.RegistryPrx"],,,,,],getLocalQuery:[,2,2,,["IceGrid.QueryPrx"],,,,,]})}(),function(){IceGrid.UserAccountNotFoundException=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))}return _inherits(t,Ice.UserException),_createClass(t,[{key:"_mostDerivedType",value:function(){return IceGrid.UserAccountNotFoundException}}],[{key:"_parent",get:function(){return Ice.UserException}},{key:"_id",get:function(){return"::IceGrid::UserAccountNotFoundException"}}]),t}();IceGrid.UserAccountMapper=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.Object),t}(),IceGrid.UserAccountMapperPrx=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,Ice.ObjectPrx),t}(),i.defineOperations(IceGrid.UserAccountMapper,IceGrid.UserAccountMapperPrx,["::Ice::Object","::IceGrid::UserAccountMapper"],1,{getUserAccount:[,,,,[7],[[7]],,[IceGrid.UserAccountNotFoundException],,]})}(),e.IceGrid=IceGrid,e.ice=t}(); |