com.h3c.util.snmp.command

## Class SnmpReadCommand<D>

- java.lang.Object
- - com.h3c.util.snmp.command.Command<I>
  - - com.h3c.util.snmp.command.ReadCommand<Oid,D,SnmpField>
    - - com.h3c.util.snmp.command.SnmpReadCommand<D>

- Type Parameters:
    `D` - Type of the command's data.

      public class SnmpReadCommand<D>
      extends ReadCommand<Oid,D,SnmpField>

  Simple Network Management Protocol (SNMP) command which only read data. Command coding is in "Abstract Syntax Notation One (ASN.1)" format.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SnmpReadCommand(Oid identity, Decoder<D,SnmpField> decoder)` Creates a new SNMP read command.

  - ### Method Summary

    - ### Methods inherited from class com.h3c.util.snmp.command.ReadCommand

      `get, getDecoder`

    - ### Methods inherited from class com.h3c.util.snmp.command.Command

      `equals, getIdentity, hashCode, toString`

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

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

- - ### Constructor Detail

    - #### SnmpReadCommand

          public SnmpReadCommand(Oid identity,
                         Decoder<D,SnmpField> decoder)
                          throws NullPointerException

      Creates a new SNMP read command.
      Parameters:
        `identity` - Command identity.
        `decoder` - Command decoder used to map from modeled data to command execution format.
      Throws:
        `NullPointerException` - If either identity or decoder is null.

Copyright © 2014. All Rights Reserved.