public class TrapPduValue extends PduValue
COUNTER, EOC, GAUGE, GET_NEXT_REQUEST_PDU, GET_REQUEST_PDU, GET_RESPONSE_PDU, INTEGER, IP_ADDRESS, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OPAQUE, SEQUENCE, SET_REQUEST_PDU, TIME_TICKS, TRAP_PDU
Constructor and Description |
---|
TrapPduValue() |
TrapPduValue(IntegerValue requestId,
IntegerValue error,
IntegerValue errorIndex,
VarBindListValue varBindList) |
TrapPduValue(int requestId,
int error,
int errorIndex) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
addVarBind, addVarBindList, create, create, getError, getErrorIndex, getRequestId, getVarBindList, setError, setError, setErrorIndex, setErrorIndex, setRequestId, setRequestId, toAsn1
public TrapPduValue()
public TrapPduValue(int requestId, int error, int errorIndex)
public TrapPduValue(IntegerValue requestId, IntegerValue error, IntegerValue errorIndex, VarBindListValue varBindList)