001: /*
002: * Generated by Cougaar QoS FrameGen
003: * from c:\marla\mmon\cougaar\HEAD\qos\src\org\cougaar\core\qos\frame\topology\cougaar-topology-protos.xml
004: * at Mar 14, 2007 4:18:10 PM
005: *
006: * Copyright BBN Technologies 2006
007: *
008: */
009: package org.cougaar.core.qos.frame.topology;
010:
011: import org.cougaar.core.qos.frame.DataFrame;
012: import org.cougaar.core.qos.frame.FrameSet;
013: import org.cougaar.core.qos.frame.SlotDescription;
014: import org.cougaar.core.qos.metrics.Metric;
015: import org.cougaar.core.util.UID;
016:
017: public class Node extends Thing {
018: static {
019: org.cougaar.core.qos.frame.FrameMaker __fm = new org.cougaar.core.qos.frame.FrameMaker() {
020: public DataFrame makeFrame(FrameSet frameSet, UID uid) {
021: return new Node(frameSet, uid);
022: }
023: };
024: DataFrame.registerFrameMaker(
025: "org.cougaar.core.qos.frame.topology", "node", __fm);
026: }
027: private transient Metric bytesIn;
028: private transient Metric cpuLoadAverage;
029: private transient Metric msgIn;
030: private String status;
031: private transient Metric cpuLoadMJips;
032: private transient Metric bytesOut;
033: private transient Metric msgOut;
034: private transient Metric vmSize;
035:
036: public Node(UID uid) {
037: this (null, uid);
038: }
039:
040: public Node(FrameSet frameSet, UID uid) {
041: super (frameSet, uid);
042: initializeStatus("unknown");
043: }
044:
045: public String getKind() {
046: return "node";
047: }
048:
049: protected void collectSlotValues(java.util.Properties __props) {
050: super .collectSlotValues(__props);
051: Object __value;
052: __value = getBytesIn__AsObject();
053: __props.put("bytesIn", __value != null ? __value : NIL);
054: __value = getCpuLoadAverage__AsObject();
055: __props.put("cpuLoadAverage", __value != null ? __value : NIL);
056: __value = getMsgIn__AsObject();
057: __props.put("msgIn", __value != null ? __value : NIL);
058: __value = getStatus__AsObject();
059: __props.put("status", __value != null ? __value : NIL);
060: __value = getCpuLoadMJips__AsObject();
061: __props.put("cpuLoadMJips", __value != null ? __value : NIL);
062: __value = getBytesOut__AsObject();
063: __props.put("bytesOut", __value != null ? __value : NIL);
064: __value = getMsgOut__AsObject();
065: __props.put("msgOut", __value != null ? __value : NIL);
066: __value = getVmSize__AsObject();
067: __props.put("vmSize", __value != null ? __value : NIL);
068: }
069:
070: protected void collectContainerSlotValues(
071: java.util.Properties __props) {
072: super .collectContainerSlotValues(__props);
073: Object __value;
074: __value = getLoadAverage__AsObject();
075: __props.put("loadAverage", __value != null ? __value : NIL);
076: __value = getJips__AsObject();
077: __props.put("jips", __value != null ? __value : NIL);
078: __value = getEffectiveMJips__AsObject();
079: __props.put("effectiveMJips", __value != null ? __value : NIL);
080: __value = getCount__AsObject();
081: __props.put("count", __value != null ? __value : NIL);
082: }
083:
084: public Metric getBytesIn() {
085: return bytesIn;
086: }
087:
088: Metric getBytesIn__NoWarn() {
089: return bytesIn;
090: }
091:
092: Object getBytesIn__AsObject() {
093: return bytesIn;
094: }
095:
096: protected void initializeBytesIn(Metric new_value) {
097: this .bytesIn = new_value;
098: slotInitialized("bytesIn", new_value);
099: }
100:
101: void initializeBytesIn__AsObject(Object new_value) {
102: this .bytesIn = force_Metric(new_value);
103: slotInitialized("bytesIn", new_value);
104: }
105:
106: public Metric getCpuLoadAverage() {
107: return cpuLoadAverage;
108: }
109:
110: Metric getCpuLoadAverage__NoWarn() {
111: return cpuLoadAverage;
112: }
113:
114: Object getCpuLoadAverage__AsObject() {
115: return cpuLoadAverage;
116: }
117:
118: protected void initializeCpuLoadAverage(Metric new_value) {
119: this .cpuLoadAverage = new_value;
120: slotInitialized("cpuLoadAverage", new_value);
121: }
122:
123: void initializeCpuLoadAverage__AsObject(Object new_value) {
124: this .cpuLoadAverage = force_Metric(new_value);
125: slotInitialized("cpuLoadAverage", new_value);
126: }
127:
128: public Metric getMsgIn() {
129: return msgIn;
130: }
131:
132: Metric getMsgIn__NoWarn() {
133: return msgIn;
134: }
135:
136: Object getMsgIn__AsObject() {
137: return msgIn;
138: }
139:
140: protected void initializeMsgIn(Metric new_value) {
141: this .msgIn = new_value;
142: slotInitialized("msgIn", new_value);
143: }
144:
145: void initializeMsgIn__AsObject(Object new_value) {
146: this .msgIn = force_Metric(new_value);
147: slotInitialized("msgIn", new_value);
148: }
149:
150: public String getStatus() {
151: return status;
152: }
153:
154: String getStatus__NoWarn() {
155: return status;
156: }
157:
158: Object getStatus__AsObject() {
159: return status;
160: }
161:
162: public void setStatus(String __new_value) {
163: String __old_value = status;
164: this .status = __new_value;
165: slotModified("status", __old_value, __new_value, true, true);
166: }
167:
168: public void setStatus__AsObject(Object __new_value) {
169: Object __old_value = getStatus__AsObject();
170: this .status = force_String(__new_value);
171: slotModified("status", __old_value, __new_value, true, true);
172: }
173:
174: protected void initializeStatus(String new_value) {
175: this .status = new_value;
176: slotInitialized("status", new_value);
177: }
178:
179: void initializeStatus__AsObject(Object new_value) {
180: this .status = force_String(new_value);
181: slotInitialized("status", new_value);
182: }
183:
184: public Metric getCpuLoadMJips() {
185: return cpuLoadMJips;
186: }
187:
188: Metric getCpuLoadMJips__NoWarn() {
189: return cpuLoadMJips;
190: }
191:
192: Object getCpuLoadMJips__AsObject() {
193: return cpuLoadMJips;
194: }
195:
196: protected void initializeCpuLoadMJips(Metric new_value) {
197: this .cpuLoadMJips = new_value;
198: slotInitialized("cpuLoadMJips", new_value);
199: }
200:
201: void initializeCpuLoadMJips__AsObject(Object new_value) {
202: this .cpuLoadMJips = force_Metric(new_value);
203: slotInitialized("cpuLoadMJips", new_value);
204: }
205:
206: public Metric getBytesOut() {
207: return bytesOut;
208: }
209:
210: Metric getBytesOut__NoWarn() {
211: return bytesOut;
212: }
213:
214: Object getBytesOut__AsObject() {
215: return bytesOut;
216: }
217:
218: protected void initializeBytesOut(Metric new_value) {
219: this .bytesOut = new_value;
220: slotInitialized("bytesOut", new_value);
221: }
222:
223: void initializeBytesOut__AsObject(Object new_value) {
224: this .bytesOut = force_Metric(new_value);
225: slotInitialized("bytesOut", new_value);
226: }
227:
228: public Metric getMsgOut() {
229: return msgOut;
230: }
231:
232: Metric getMsgOut__NoWarn() {
233: return msgOut;
234: }
235:
236: Object getMsgOut__AsObject() {
237: return msgOut;
238: }
239:
240: protected void initializeMsgOut(Metric new_value) {
241: this .msgOut = new_value;
242: slotInitialized("msgOut", new_value);
243: }
244:
245: void initializeMsgOut__AsObject(Object new_value) {
246: this .msgOut = force_Metric(new_value);
247: slotInitialized("msgOut", new_value);
248: }
249:
250: public Metric getVmSize() {
251: return vmSize;
252: }
253:
254: Metric getVmSize__NoWarn() {
255: return vmSize;
256: }
257:
258: Object getVmSize__AsObject() {
259: return vmSize;
260: }
261:
262: protected void initializeVmSize(Metric new_value) {
263: this .vmSize = new_value;
264: slotInitialized("vmSize", new_value);
265: }
266:
267: void initializeVmSize__AsObject(Object new_value) {
268: this .vmSize = force_Metric(new_value);
269: slotInitialized("vmSize", new_value);
270: }
271:
272: public Metric getLoadAverage() {
273: Object __raw_container = containerFrame();
274: if (__raw_container == null)
275: return null;
276: if (!(__raw_container instanceof Host))
277: throw new RuntimeException("Bogus container!");
278: Host __container = (Host) __raw_container;
279: return __container.getLoadAverage();
280: }
281:
282: Object getLoadAverage__AsObject() {
283: Object __raw_container = containerFrame();
284: if (__raw_container == null)
285: return null;
286: if (!(__raw_container instanceof Host)) {
287: getLogger().warn(
288: "Container of " + this + " is not a Host: "
289: + __raw_container);
290: return null;
291: }
292: Host __container = (Host) __raw_container;
293: return __container.getLoadAverage__AsObject();
294: }
295:
296: public Metric getJips() {
297: Object __raw_container = containerFrame();
298: if (__raw_container == null)
299: return null;
300: if (!(__raw_container instanceof Host))
301: throw new RuntimeException("Bogus container!");
302: Host __container = (Host) __raw_container;
303: return __container.getJips();
304: }
305:
306: Object getJips__AsObject() {
307: Object __raw_container = containerFrame();
308: if (__raw_container == null)
309: return null;
310: if (!(__raw_container instanceof Host)) {
311: getLogger().warn(
312: "Container of " + this + " is not a Host: "
313: + __raw_container);
314: return null;
315: }
316: Host __container = (Host) __raw_container;
317: return __container.getJips__AsObject();
318: }
319:
320: public Metric getEffectiveMJips() {
321: Object __raw_container = containerFrame();
322: if (__raw_container == null)
323: return null;
324: if (!(__raw_container instanceof Host))
325: throw new RuntimeException("Bogus container!");
326: Host __container = (Host) __raw_container;
327: return __container.getEffectiveMJips();
328: }
329:
330: Object getEffectiveMJips__AsObject() {
331: Object __raw_container = containerFrame();
332: if (__raw_container == null)
333: return null;
334: if (!(__raw_container instanceof Host)) {
335: getLogger().warn(
336: "Container of " + this + " is not a Host: "
337: + __raw_container);
338: return null;
339: }
340: Host __container = (Host) __raw_container;
341: return __container.getEffectiveMJips__AsObject();
342: }
343:
344: public Metric getCount() {
345: Object __raw_container = containerFrame();
346: if (__raw_container == null)
347: return null;
348: if (!(__raw_container instanceof Host))
349: throw new RuntimeException("Bogus container!");
350: Host __container = (Host) __raw_container;
351: return __container.getCount();
352: }
353:
354: Object getCount__AsObject() {
355: Object __raw_container = containerFrame();
356: if (__raw_container == null)
357: return null;
358: if (!(__raw_container instanceof Host)) {
359: getLogger().warn(
360: "Container of " + this + " is not a Host: "
361: + __raw_container);
362: return null;
363: }
364: Host __container = (Host) __raw_container;
365: return __container.getCount__AsObject();
366: }
367:
368: protected void fireContainerChanges(DataFrame __raw_old,
369: DataFrame __raw_new) {
370: if (!(__raw_old instanceof Host)) {
371: getLogger().warn(
372: "Container of " + this + " is not a Host: "
373: + __raw_old);
374: return;
375: }
376: if (!(__raw_new instanceof Host)) {
377: getLogger().warn(
378: "Container of " + this + " is not a Host: "
379: + __raw_new);
380: return;
381: }
382: Host __old_frame = (Host) __raw_old;
383: Host __new_frame = (Host) __raw_new;
384: Object __old;
385: Object __new;
386: __old = __old_frame.getLoadAverage__AsObject();
387: __new = __new_frame.getLoadAverage__AsObject();
388: if (__new != null) {
389: if (__old == null || !__old.equals(__new)) {
390: fireChange("loadAverage", __old, __new);
391: }
392: }
393: __old = __old_frame.getJips__AsObject();
394: __new = __new_frame.getJips__AsObject();
395: if (__new != null) {
396: if (__old == null || !__old.equals(__new)) {
397: fireChange("jips", __old, __new);
398: }
399: }
400: __old = __old_frame.getEffectiveMJips__AsObject();
401: __new = __new_frame.getEffectiveMJips__AsObject();
402: if (__new != null) {
403: if (__old == null || !__old.equals(__new)) {
404: fireChange("effectiveMJips", __old, __new);
405: }
406: }
407: __old = __old_frame.getCount__AsObject();
408: __new = __new_frame.getCount__AsObject();
409: if (__new != null) {
410: if (__old == null || !__old.equals(__new)) {
411: fireChange("count", __old, __new);
412: }
413: }
414: }
415:
416: protected void fireContainerChanges(DataFrame __raw) {
417: if (!(__raw instanceof Host)) {
418: getLogger()
419: .warn(
420: "Container of " + this + " is not a Host: "
421: + __raw);
422: return;
423: }
424: Host __new_frame = (Host) __raw;
425: Object __new;
426: __new = __new_frame.getLoadAverage__AsObject();
427: if (__new != null) {
428: fireChange("loadAverage", null, __new);
429: }
430: __new = __new_frame.getJips__AsObject();
431: if (__new != null) {
432: fireChange("jips", null, __new);
433: }
434: __new = __new_frame.getEffectiveMJips__AsObject();
435: if (__new != null) {
436: fireChange("effectiveMJips", null, __new);
437: }
438: __new = __new_frame.getCount__AsObject();
439: if (__new != null) {
440: fireChange("count", null, __new);
441: }
442: }
443:
444: protected Object getLocalValue(String __slot) {
445: String __key = __slot.intern();
446: if ("bytesIn" == __key)
447: return getBytesIn__AsObject();
448: else if ("jips" == __key)
449: return getJips__AsObject();
450: else if ("status" == __key)
451: return getStatus__AsObject();
452: else if ("cpuLoadMJips" == __key)
453: return getCpuLoadMJips__AsObject();
454: else if ("loadAverage" == __key)
455: return getLoadAverage__AsObject();
456: else if ("cpuLoadAverage" == __key)
457: return getCpuLoadAverage__AsObject();
458: else if ("msgIn" == __key)
459: return getMsgIn__AsObject();
460: else if ("effectiveMJips" == __key)
461: return getEffectiveMJips__AsObject();
462: else if ("count" == __key)
463: return getCount__AsObject();
464: else if ("name" == __key)
465: return getName__AsObject();
466: else if ("bytesOut" == __key)
467: return getBytesOut__AsObject();
468: else if ("msgOut" == __key)
469: return getMsgOut__AsObject();
470: else if ("vmSize" == __key)
471: return getVmSize__AsObject();
472: else
473: return super .getLocalValue(__slot);
474: }
475:
476: protected void setLocalValue(String __slot, Object __value) {
477: String __key = __slot.intern();
478: if ("status" == __key)
479: setStatus__AsObject(__value);
480: else
481: super .setLocalValue(__slot, __value);
482: }
483:
484: protected void initializeLocalValue(String __slot, Object __value) {
485: String __key = __slot.intern();
486: if ("bytesIn" == __key)
487: initializeBytesIn__AsObject(__value);
488: else if ("cpuLoadAverage" == __key)
489: initializeCpuLoadAverage__AsObject(__value);
490: else if ("msgIn" == __key)
491: initializeMsgIn__AsObject(__value);
492: else if ("status" == __key)
493: initializeStatus__AsObject(__value);
494: else if ("cpuLoadMJips" == __key)
495: initializeCpuLoadMJips__AsObject(__value);
496: else if ("bytesOut" == __key)
497: initializeBytesOut__AsObject(__value);
498: else if ("msgOut" == __key)
499: initializeMsgOut__AsObject(__value);
500: else if ("vmSize" == __key)
501: initializeVmSize__AsObject(__value);
502: else
503: super .initializeLocalValue(__slot, __value);
504: }
505:
506: protected void postInitialize() {
507: super .postInitialize();
508: java.util.Observer __observer;
509: __observer = new java.util.Observer() {
510: public void update(java.util.Observable __xxx, Object __new) {
511: Object __old = bytesIn;
512: bytesIn = (Metric) __new;
513: slotModified("bytesIn", __old, __new, true, true);
514: }
515: };
516: bytesIn = getFrameSet().getMetricValue(this ,
517: "Node($(name)):BytesIn(10)");
518: getFrameSet().subscribeToMetric(this , __observer,
519: "Node($(name)):BytesIn(10)");
520: __observer = new java.util.Observer() {
521: public void update(java.util.Observable __xxx, Object __new) {
522: Object __old = cpuLoadAverage;
523: cpuLoadAverage = (Metric) __new;
524: slotModified("cpuLoadAverage", __old, __new, true, true);
525: }
526: };
527: cpuLoadAverage = getFrameSet().getMetricValue(this ,
528: "Node($(name)):CPULoadAvg(10)");
529: getFrameSet().subscribeToMetric(this , __observer,
530: "Node($(name)):CPULoadAvg(10)");
531: __observer = new java.util.Observer() {
532: public void update(java.util.Observable __xxx, Object __new) {
533: Object __old = msgIn;
534: msgIn = (Metric) __new;
535: slotModified("msgIn", __old, __new, true, true);
536: }
537: };
538: msgIn = getFrameSet().getMetricValue(this ,
539: "Node($(name)):MsgIn(10)");
540: getFrameSet().subscribeToMetric(this , __observer,
541: "Node($(name)):MsgIn(10)");
542: __observer = new java.util.Observer() {
543: public void update(java.util.Observable __xxx, Object __new) {
544: Object __old = cpuLoadMJips;
545: cpuLoadMJips = (Metric) __new;
546: slotModified("cpuLoadMJips", __old, __new, true, true);
547: }
548: };
549: cpuLoadMJips = getFrameSet().getMetricValue(this ,
550: "Node($(name)):CPULoadMJips(10)");
551: getFrameSet().subscribeToMetric(this , __observer,
552: "Node($(name)):CPULoadMJips(10)");
553: __observer = new java.util.Observer() {
554: public void update(java.util.Observable __xxx, Object __new) {
555: Object __old = bytesOut;
556: bytesOut = (Metric) __new;
557: slotModified("bytesOut", __old, __new, true, true);
558: }
559: };
560: bytesOut = getFrameSet().getMetricValue(this ,
561: "Node($(name)):BytesOut(10)");
562: getFrameSet().subscribeToMetric(this , __observer,
563: "Node($(name)):BytesOut(10)");
564: __observer = new java.util.Observer() {
565: public void update(java.util.Observable __xxx, Object __new) {
566: Object __old = msgOut;
567: msgOut = (Metric) __new;
568: slotModified("msgOut", __old, __new, true, true);
569: }
570: };
571: msgOut = getFrameSet().getMetricValue(this ,
572: "Node($(name)):MsgOut(10)");
573: getFrameSet().subscribeToMetric(this , __observer,
574: "Node($(name)):MsgOut(10)");
575: __observer = new java.util.Observer() {
576: public void update(java.util.Observable __xxx, Object __new) {
577: Object __old = vmSize;
578: vmSize = (Metric) __new;
579: slotModified("vmSize", __old, __new, true, true);
580: }
581: };
582: vmSize = getFrameSet().getMetricValue(this ,
583: "Node($(name)):VMSize()");
584: getFrameSet().subscribeToMetric(this , __observer,
585: "Node($(name)):VMSize()");
586: }
587:
588: protected void collectSlotNames(java.util.Set<String> slots) {
589: super .collectSlotNames(slots);
590: slots.add("bytesIn");
591: slots.add("cpuLoadAverage");
592: slots.add("msgIn");
593: slots.add("status");
594: slots.add("cpuLoadMJips");
595: slots.add("bytesOut");
596: slots.add("msgOut");
597: slots.add("vmSize");
598: slots.add("loadAverage");
599: slots.add("jips");
600: slots.add("effectiveMJips");
601: slots.add("count");
602: }
603:
604: public SlotDescription slotMetaData__BytesIn() {
605: SlotDescription __desc = new SlotDescription();
606: __desc.name = "bytesIn";
607: __desc.prototype = "node";
608: __desc.is_writable = false;
609: Object __value;
610: __value = bytesIn;
611: if (__value != null) {
612: __desc.is_overridden = true;
613: __desc.value = __value;
614: } else {
615: __desc.is_overridden = false;
616: }
617: return __desc;
618: }
619:
620: public SlotDescription slotMetaData__CpuLoadAverage() {
621: SlotDescription __desc = new SlotDescription();
622: __desc.name = "cpuLoadAverage";
623: __desc.prototype = "node";
624: __desc.is_writable = false;
625: Object __value;
626: __value = cpuLoadAverage;
627: if (__value != null) {
628: __desc.is_overridden = true;
629: __desc.value = __value;
630: } else {
631: __desc.is_overridden = false;
632: }
633: return __desc;
634: }
635:
636: public SlotDescription slotMetaData__MsgIn() {
637: SlotDescription __desc = new SlotDescription();
638: __desc.name = "msgIn";
639: __desc.prototype = "node";
640: __desc.is_writable = false;
641: Object __value;
642: __value = msgIn;
643: if (__value != null) {
644: __desc.is_overridden = true;
645: __desc.value = __value;
646: } else {
647: __desc.is_overridden = false;
648: }
649: return __desc;
650: }
651:
652: public SlotDescription slotMetaData__Status() {
653: SlotDescription __desc = new SlotDescription();
654: __desc.name = "status";
655: __desc.prototype = "node";
656: __desc.is_writable = true;
657: Object __value;
658: __value = status;
659: if (__value != null) {
660: __desc.is_overridden = true;
661: __desc.value = __value;
662: } else {
663: __desc.is_overridden = false;
664: __desc.value = "unknown";
665: }
666: return __desc;
667: }
668:
669: public SlotDescription slotMetaData__CpuLoadMJips() {
670: SlotDescription __desc = new SlotDescription();
671: __desc.name = "cpuLoadMJips";
672: __desc.prototype = "node";
673: __desc.is_writable = false;
674: Object __value;
675: __value = cpuLoadMJips;
676: if (__value != null) {
677: __desc.is_overridden = true;
678: __desc.value = __value;
679: } else {
680: __desc.is_overridden = false;
681: }
682: return __desc;
683: }
684:
685: public SlotDescription slotMetaData__BytesOut() {
686: SlotDescription __desc = new SlotDescription();
687: __desc.name = "bytesOut";
688: __desc.prototype = "node";
689: __desc.is_writable = false;
690: Object __value;
691: __value = bytesOut;
692: if (__value != null) {
693: __desc.is_overridden = true;
694: __desc.value = __value;
695: } else {
696: __desc.is_overridden = false;
697: }
698: return __desc;
699: }
700:
701: public SlotDescription slotMetaData__MsgOut() {
702: SlotDescription __desc = new SlotDescription();
703: __desc.name = "msgOut";
704: __desc.prototype = "node";
705: __desc.is_writable = false;
706: Object __value;
707: __value = msgOut;
708: if (__value != null) {
709: __desc.is_overridden = true;
710: __desc.value = __value;
711: } else {
712: __desc.is_overridden = false;
713: }
714: return __desc;
715: }
716:
717: public SlotDescription slotMetaData__VmSize() {
718: SlotDescription __desc = new SlotDescription();
719: __desc.name = "vmSize";
720: __desc.prototype = "node";
721: __desc.is_writable = false;
722: Object __value;
723: __value = vmSize;
724: if (__value != null) {
725: __desc.is_overridden = true;
726: __desc.value = __value;
727: } else {
728: __desc.is_overridden = false;
729: }
730: return __desc;
731: }
732:
733: public SlotDescription slotMetaData__LoadAverage() {
734: SlotDescription __desc = new SlotDescription();
735: __desc.name = "loadAverage";
736: __desc.prototype = "host";
737: __desc.value = getLoadAverage__AsObject();
738: __desc.is_overridden = false;
739: __desc.is_writable = false;
740: return __desc;
741: }
742:
743: public SlotDescription slotMetaData__Jips() {
744: SlotDescription __desc = new SlotDescription();
745: __desc.name = "jips";
746: __desc.prototype = "host";
747: __desc.value = getJips__AsObject();
748: __desc.is_overridden = false;
749: __desc.is_writable = false;
750: return __desc;
751: }
752:
753: public SlotDescription slotMetaData__EffectiveMJips() {
754: SlotDescription __desc = new SlotDescription();
755: __desc.name = "effectiveMJips";
756: __desc.prototype = "host";
757: __desc.value = getEffectiveMJips__AsObject();
758: __desc.is_overridden = false;
759: __desc.is_writable = false;
760: return __desc;
761: }
762:
763: public SlotDescription slotMetaData__Count() {
764: SlotDescription __desc = new SlotDescription();
765: __desc.name = "count";
766: __desc.prototype = "host";
767: __desc.value = getCount__AsObject();
768: __desc.is_overridden = false;
769: __desc.is_writable = false;
770: return __desc;
771: }
772:
773: protected void collectSlotDescriptions(
774: java.util.Map<String, SlotDescription> map) {
775: super .collectSlotDescriptions(map);
776: map.put("bytesIn", slotMetaData__BytesIn());
777: map.put("cpuLoadAverage", slotMetaData__CpuLoadAverage());
778: map.put("msgIn", slotMetaData__MsgIn());
779: map.put("status", slotMetaData__Status());
780: map.put("cpuLoadMJips", slotMetaData__CpuLoadMJips());
781: map.put("bytesOut", slotMetaData__BytesOut());
782: map.put("msgOut", slotMetaData__MsgOut());
783: map.put("vmSize", slotMetaData__VmSize());
784: map.put("loadAverage", slotMetaData__LoadAverage());
785: map.put("jips", slotMetaData__Jips());
786: map.put("effectiveMJips", slotMetaData__EffectiveMJips());
787: map.put("count", slotMetaData__Count());
788: }
789: }
|