1 22 23 package org.snmp4j.agent.agentx; 24 25 import org.snmp4j.smi.OctetString; 26 import org.snmp4j.agent.MOScope; 27 28 public class AgentXGetNextPDU extends AgentXRequestPDU { 29 30 public AgentXGetNextPDU(OctetString context, MOScope[] ranges) { 31 super(AGENTX_GETNEXT_PDU, context); 32 this.ranges = ranges; 33 } 34 35 public AgentXGetNextPDU(AgentXMessageHeader header) { 36 super(header); 37 if (header.getType() != AGENTX_GETNEXT_PDU) { 38 throw new IllegalArgumentException (); 39 } 40 } 41 42 } 43 | Popular Tags |