public class PassiveTrapPduv2 extends TrapPduv2
See notes on how to send traps in an Oracle JServer environment.
PassiveTrapPduv1
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId
Constructor and Description |
---|
PassiveTrapPduv2(PassiveSnmpContextv2c con)
Constructor.
|
PassiveTrapPduv2(PassiveSnmpContextv3 con) |
Modifier and Type | Method and Description |
---|---|
void |
addToTrans()
Override of the operation in PDU.
|
isExpectingResponse, new_value, tell_them, toString
addOid, addOid, addOid, addOid, addOid, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, getRetryIntervals, isTimedOut, notifyObservers, printVars, send, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, toString, waitForSelf
public PassiveTrapPduv2(PassiveSnmpContextv2c con)
con
- The context (v2c) of the PDU.
This is of type PassiveSnmpContextv2c to ensure that the correct threading
behaviour occurs.public PassiveTrapPduv2(PassiveSnmpContextv3 con)
con
- The context (v3) of the PDU.
This is of type PassiveSnmpContextv3 to ensure that the correct threading
behaviour occurs.
Thanks to Russell Arrowsmith.public void addToTrans()
addToTrans
in class Pdu
Pdu.send()