1 22 23 package org.snmp4j.agent.agentx; 24 25 import java.nio.ByteBuffer ; 26 import java.io.IOException ; 27 import org.snmp4j.smi.OctetString; 28 import org.snmp4j.smi.VariableBinding; 29 30 public class AgentXIndexAllocatePDU extends AgentXVariableBindingPDU { 31 32 public AgentXIndexAllocatePDU(OctetString context, VariableBinding[] vbs) { 33 super(AGENTX_INDEXALLOCATE_PDU, context, vbs); 34 } 35 36 public AgentXIndexAllocatePDU(AgentXMessageHeader header) { 37 super(header); 38 if (header.getType() != AGENTX_INDEXALLOCATE_PDU) { 39 throw new IllegalArgumentException (); 40 } 41 } 42 43 } 44 | Popular Tags |