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 codevoid
handle(int status, java.lang.String detail)
Handle an integer status code with a string diagnosticvoid
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 codedetail
- 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 codepairs
- key:value data
-
-