1 29 30 31 package snmp; 32 33 import java.util.*; 34 35 36 37 38 58 59 60 public class SNMPVariablePair extends SNMPSequence 61 { 62 63 66 67 public SNMPVariablePair(SNMPObjectIdentifier objectID, SNMPObject value) 68 throws SNMPBadValueException 69 { 70 super(); 71 Vector contents = new Vector(); 72 contents.insertElementAt(objectID, 0); 73 contents.insertElementAt(value, 1); 74 this.setValue(contents); 75 } 76 77 78 79 } | Popular Tags |