com.h3c.util.snmp

## Class SnmpTrapRequest

- java.lang.Object
- - com.h3c.util.snmp.SnmpField
  - - com.h3c.util.snmp.SnmpRequest
    - - com.h3c.util.snmp.SnmpTrapRequest

-     public class SnmpTrapRequest
      extends SnmpRequest

  SNMP trap request message. This class provides some compile type checking so that the appropriate client method will be used `SnmpClient.sendTrap(SnmpTrapRequest)`.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.h3c.util.snmp.SnmpRequest

      `SnmpRequest.ErrorType`

  - ### Field Summary

    - ### Fields inherited from class com.h3c.util.snmp.SnmpField

      `NULL_FIELD`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SnmpPdu` | `getPdu()`
    `SnmpPduTrapV1` | `getPduTrapV1()`

    - ### Methods inherited from class com.h3c.util.snmp.SnmpRequest

      `getAttachedObject, getError, getLocalizedErrorDescription, getLocalizedRequestResponseErrorDescription, getResponse, getWalkTable, isOk, prepareBulkWalk, prepareGetNextWalk, prepareWalk, setAttachedObject, setBulkWalkMaxReps, setBulkWalkType, setGetType, setSetType, setWalkType, setWalkTypeByVersion, setWalkTypeByVersion, toString`

    - ### Methods inherited from class com.h3c.util.snmp.SnmpField

      `asBoolean, asBytes, asInt, asIpAddress, asLong, asMacAddress, asOid, asString, asStringValue, asTimeTicksString, getType, read, set, set, set, set, set, set, set, set, setNull, setType, setU32, toDebugString, write`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getPdu

          public SnmpPdu getPdu()

    - #### getPduTrapV1

          public SnmpPduTrapV1 getPduTrapV1()

Copyright © 2014. All Rights Reserved.