com.h3c.util.snmp.command

## Class SnmpReadWriteCommand<D>

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

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

      public class SnmpReadWriteCommand<D>
      extends ReadWriteCommand<Oid,D,SnmpField>

  Simple Network Management Protocol (SNMP) command which reads and writes data.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SnmpReadWriteCommand(Oid identity, Codec<D,SnmpField> codec)` Creates a new SNMP read/write command.

  - ### Method Summary

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

      `getCodec, set`

    - ### 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

    - #### SnmpReadWriteCommand

          public SnmpReadWriteCommand(Oid identity,
                              Codec<D,SnmpField> codec)
                               throws NullPointerException

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

Copyright © 2014. All Rights Reserved.