com.h3c.sdn.adm

## Interface TeammateCommandExecutorService.Command<R,I,T extends Addressable<IpAddress>>

- Type Parameters:
    `R` - type of the command's result.
    `I` - type of the command's input.
    `T` - type of the teammate.
  Enclosing interface:
    TeammateCommandExecutorService

      public static interface TeammateCommandExecutorService.Command<R,I,T extends Addressable<IpAddress>>

  Command.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `R` | `execute(T teammate, I input)` Executes the command.

- - ### Method Detail

    - #### execute

          R execute(T teammate,
                  I input)
                    throws Exception

      Executes the command.
      Parameters:
        `teammate` - teammate to execute the command on.
        `input` - command's input.
      Returns:
        execution result.
      Throws:
        `Exception` - if errors occur while executing the command.

Copyright © 2014. All Rights Reserved.