Convenience routine to handle simple IAP commands that do not have responses specific to that command. @param cmd the command @param args the arguments @exception ProtocolException for protocol failures
(String cmd, Argument args)
| 438 | * @exception ProtocolException for protocol failures |
| 439 | */ |
| 440 | public void simpleCommand(String cmd, Argument args) |
| 441 | throws ProtocolException { |
| 442 | // Issue command |
| 443 | Response[] r = command(cmd, args); |
| 444 | |
| 445 | // dispatch untagged responses |
| 446 | notifyResponseHandlers(r); |
| 447 | |
| 448 | // Handle result of this command |
| 449 | handleResult(r[r.length-1]); |
| 450 | } |
| 451 | |
| 452 | /** |
| 453 | * Start TLS on the current connection. |
no test coverage detected