public void rename(byte[] oldName, byte[] newName) {
   try {
     if (isPipelined()) {
       pipeline(pipeline.rename(oldName, newName));
       return;
     }
     client.rename(oldName, newName);
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }