public class InformPdu extends Pdu
Inform Requests
are sent between managers. It is an acknowlegded trap since
the receiving end should send a Response Pdu as reply.
The varbind list has the same elements as the TrapPduv2.
See SNMPv2-PDU
Note this PDU should be sent to port 162 (the default trap port) by default. You will have to create a SnmpContext with the ListeningContextFace.DEFAULT_TRAP_PORT as parameter!
For SNMPv3: The sender of an inform PDU acts as the authoritative engine.
TrapPduv2
,
ListeningContextFace.DEFAULT_TRAP_PORT
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId
Constructor and Description |
---|
InformPdu(SnmpContextBasisFace con)
Constructor.
|
addOid, addOid, addOid, addOid, addOid, addToTrans, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, getRetryIntervals, isExpectingResponse, isTimedOut, new_value, notifyObservers, printVars, send, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, tell_them, toString, toString, waitForSelf
public InformPdu(SnmpContextBasisFace con)
con
- The context (v2c or v3) of the Pdu