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