/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * Convenience routine to handle simple IAP commands * that do not have responses specific to that command. */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * Convenience routine to handle simple IAP commands * that do not have responses specific to that command. */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }
/** * 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 */ public void simpleCommand(String cmd, Argument args) throws ProtocolException { // Issue command Response[] r = command(cmd, args); // dispatch untagged responses notifyResponseHandlers(r); // Handle result of this command handleResult(r[r.length-1]); }