Package com.isode.som

Interface SomCommandListener


public interface SomCommandListener
Command listener used to handle command execution result
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(int status)
    Handle an integer status code
    void
    handle(int status, String detail)
    Handle an integer status code with a string diagnostic
    void
    handle(int status, String[] pairs)
    Handle a status code with an array of key:value pairs
  • Method Details

    • handle

      void handle(int status)
      Handle an integer status code
      Parameters:
      status - status code to handle
    • handle

      void handle(int status, String detail)
      Handle an integer status code with a string diagnostic
      Parameters:
      status - status code
      detail - diagnostic string
    • handle

      void handle(int status, String[] pairs)
      Handle a status code with an array of key:value pairs
      Parameters:
      status - status code
      pairs - key:value data