Package com.isode.som

Interface SomCommandListener


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void handle​(int status)
      Handle an integer status code
      void handle​(int status, java.lang.String detail)
      Handle an integer status code with a string diagnostic
      void handle​(int status, java.lang.String[] pairs)
      Handle a status code with an array of key:value pairs
    • Method Detail

      • handle

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

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

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